Subject: "Sudden" loss of rimap capability

From: Harry Levinson <[email-masked]>
Date: Wed, 20 Nov 1996 10:38:21 -0500

Hi all,

I solaris 2.5.1 running on both my workstation and the mail server. 
IMAP used to work so that I did not have to login again (Pre-Auth?). 
Now all of a sudden, this does not work and I get the errormessage 

[Can't connect to tau,143: Connection refused]

There are two other workstations that still work fine.  I tried:
1.  rsh to server and exec /etc/rimapd:  OK
2.  telnet to server at 143:             FAIL
3.  telnet to server:                    OK

(See below.)

My home directory is local to my workstation and gets mapped to
/home/harry via auto_home.  This is true of the mail server as well.
	
What could have changed, or more importantly what should I try next.

	harry

tau% grep imap /etc/services
imap            143/tcp

tau% grep imap /etc/inetd.conf
rimap    stream  tcp     nowait  root    /etc/rimapd    rimapd

strata% rsh tau exec /etc/rimapd
TERM: Undefined variable.
* PREAUTH tau IMAP2bis Service 7.8(92) at Wed, 20 Nov 1996 10:30:11
-0500 (EST)

strata% telnet tau 143
Trying 155.34.136.28...
telnet: Unable to connect to remote host: Connection refused

strata% telnet tau
Trying 155.34.136.28...
Connected to tau.
Escape character is '^]'.

UNIX(r) System V Release 4.0 (tau)

login: ^C  
login: harry
Password: 
Last login: Wed Nov 20 10:12:51 from marauder
Sun Microsystems Inc.   SunOS 5.5.1     Generic May 1996
You have mail.
ld.so.1: xset: fatal: libXext.so.5.0: can't open file: errno=2
Killed
ld.so.1: xhost: fatal: libXmu.so.5.0: can't open file: errno=2
Killed
Wed Nov 20 10:30:49 EST 1996
TERM is xterm
You have mail.

tau:/home/harry                                           

-- 

 ============================================================
|  Harry Levinson         |  (617)981-5550                   |
|  MIT Lincoln Lab        |                                  |
|  244 Wood St. S2-234A   |  (617)981-5255 FAX               |
|  Lexington MA 02173     |  [email-masked]             |
 ============================================================

---

From: SARAWGI VIPUL PARMANAND <[email-masked]>
Date: Sat, 23 Nov 1996 15:24:09 +0530 (IST)

hi everybody,

can somebody please suggest a few mailing lists and/or irc channels where
i can clarify my other internet related queries (for beginners)

thanks,

-----------------------------

Vipul Sarawgi from Bombay
          cheers
-----------------------------

---

From: SARAWGI VIPUL PARMANAND <[email-masked]>
Date: Sun, 24 Nov 1996 20:59:03 +0530 (IST)

hi, 

i have been told by my local service provider that i can access newsgroups
thru pine. can any body please eloborate how do i go about. additionally,
are there any resource guides also available on the net?

bye,

---

From: Mike Brudenell <[email-masked]>
Date: Mon, 25 Nov 1996 10:11:57 +0000 (GMT)

Ummm... I'm a little confused by your message as you appear first to say
that pre-authenticated IMAP connections are failing, and then in your list
of three things you tried said that it (1) worked.

Anyway here's a few things for you to check out and try:

> [Can't connect to tau,143: Connection refused]

Note: When "143" is mentioned this is referring to the default (*NOT*
pre-authenticated) IMAP connection.  This corresponds with you saying that
telnet-ing to port 143 fails, below.

> rimap    stream  tcp     nowait  root    /etc/rimapd    rimapd

Here's one problem, that is blocking your connection when telnet-ing to
port 143...  The keyword (the first word on the line) must be the same in
the entries in the two files so as to provide the "link" between them.

In particular you have "imap" in /etc/services and "rimap" in
/etc/inetd.conf as the first word on each line.  Change the latter to be
"imap" (it has nothing at all to do with the pre-authenticated IMAP stuff:
/etc/rimapd).

Then either reload the inetd server by sending it the appropriate signal,
or reboot your machine.

> * PREAUTH tau IMAP2bis Service 7.8(92) at Wed, 20 Nov 1996 10:30:11

And the "TERM: Undefined variable." is quite likely to be causing problems
with pre-authenticated connections.  The "* PREAUTH ..." line should be
the very first thing you see then you try rsh'ing to the server and
executing /etc/rimapd.

This will be coming from either your own or the systemwide shell startup
file (eg, for csh either /etc/cshrc or your own ~/.login or ~/.cshrc
files).

Some commands can't be meaningfully given in a plain "rsh server command"
environment, and should be executed only after performing some sort of
test (eg, testing if TERM is set perhaps in this case, or if the prompt
variable is set (signifying an interactive session)).

Cheers,

-- 
Mike Brudenell                                         <[email-masked]>
------------------------------------------------------------------------
The Computing Service, University of York, Heslington, York, YO1 5DD, UK
Tel: +44-1904-433811  FAX: +44-1904-433740  http://www.york.ac.uk/~pmb1/

---

From: Rudolf Kompf <[email-masked]>
Date: Mon, 25 Nov 1996 13:37:49 +0100 (MET)

On Mon, 25 Nov 1996, Mike Brudenell wrote:

-> Ummm... I'm a little confused by your message as you appear first to say
-> that pre-authenticated IMAP connections are failing, and then in your list
-> of three things you tried said that it (1) worked.
-> 
-> Anyway here's a few things for you to check out and try:
-> 
-> On Wed, 20 Nov 1996, Harry Levinson wrote:
-> 
-> > Hi all,
-> > 
-> > I solaris 2.5.1 running on both my workstation and the mail server. 
-> > IMAP used to work so that I did not have to login again (Pre-Auth?). 
-> > Now all of a sudden, this does not work and I get the errormessage 
-> > 
-> > [Can't connect to tau,143: Connection refused]
-> 
-> Note: When "143" is mentioned this is referring to the default (*NOT*
-> pre-authenticated) IMAP connection.  This corresponds with you saying that
-> telnet-ing to port 143 fails, below.
-> 
-> > There are two other workstations that still work fine.  I tried:
-> > 1.  rsh to server and exec /etc/rimapd:  OK
-> > 2.  telnet to server at 143:             FAIL
-> > 3.  telnet to server:                    OK
-> > 
-> > What could have changed, or more importantly what should I try next.
-> > 
-> > 	harry
-> > 
-> > tau% grep imap /etc/services
-> > imap            143/tcp
-> > 
-> > tau% grep imap /etc/inetd.conf
-> > rimap    stream  tcp     nowait  root    /etc/rimapd    rimapd
-> 
-> Here's one problem, that is blocking your connection when telnet-ing to
-> port 143...  The keyword (the first word on the line) must be the same in
-> the entries in the two files so as to provide the "link" between them.
-> 
-> In particular you have "imap" in /etc/services and "rimap" in
-> /etc/inetd.conf as the first word on each line.  Change the latter to be
-> "imap" (it has nothing at all to do with the pre-authenticated IMAP stuff:
-> /etc/rimapd).
-> 
-> Then either reload the inetd server by sending it the appropriate signal,
-> or reboot your machine.
-> 
-> > strata% rsh tau exec /etc/rimapd
-> > TERM: Undefined variable.
-> > * PREAUTH tau IMAP2bis Service 7.8(92) at Wed, 20 Nov 1996 10:30:11
-> > -0500 (EST)
-> 
-> And the "TERM: Undefined variable." is quite likely to be causing problems
-> with pre-authenticated connections.  The "* PREAUTH ..." line should be
-> the very first thing you see then you try rsh'ing to the server and
-> executing /etc/rimapd.
-> 
-> This will be coming from either your own or the systemwide shell startup
-> file (eg, for csh either /etc/cshrc or your own ~/.login or ~/.cshrc
-> files).
-> 
-> Some commands can't be meaningfully given in a plain "rsh server command"
-> environment, and should be executed only after performing some sort of
-> test (eg, testing if TERM is set perhaps in this case, or if the prompt
-> variable is set (signifying an interactive session)).
-> 
-> Cheers,
-> 
-> -- 
-> Mike Brudenell                                         <[email-masked]>
-> ------------------------------------------------------------------------
-> The Computing Service, University of York, Heslington, York, YO1 5DD, UK
-> Tel: +44-1904-433811  FAX: +44-1904-433740  http://www.york.ac.uk/~pmb1/
-> 
I have the following configuration (but with Solaris 2.4):
1) in /etc/services:
   imap2           143/tcp                        
2) in /etc/inetd.conf:
   imap2   stream  tcp     nowait  root    /usr/sbin/in.imapd in.imapd
3) the symbolic link:
   /etc/rimapd -> /usr/sbin/in.imapd

-----------------------------------------------------------------------
Rudolf Kompf                     | E-mail: [email-masked]

---

From: "Dinesh R. Thakkar" <[email-masked]>
Date: Tue, 26 Nov 1996 11:21:51 +0530 (GMT+5:30)

Hello,

> are there any resource guides also available on the net?
  At the main menu of pine, type 's' for setup and then 'c' for config. 
In the list of options there you will come across an option called 'nntp 
server..'. There you add 'news.vsnl.net.in'
  To access the newsgroups, press 'l' for list of folders.

  Happy newsgrouping, Dinesh.