Subject: Yet another question re rimapd...

From: Kari Sutela <[email-masked]>
Date: Tue, 14 Dec 1993 09:40:17 +0200

Sigh,

I know this has been asked and answered previously but, unfortunately,
I wasn't paying attention at the time.  The problem is, I can't get
the "rsh-like" rimpad mechnamism to work.  First of all, rsh works
perfectly (I can rsh from my client to imapd server no problem).
However, no matter what I try, pine still asks me for password when I
use the imapd INBOX.

I have tried:

	1) Installing imapd in /usr/local/etc and "ln -s
	   /usr/local/etc/imapd /etc/rimapd"

	2) Installing imapd as /etc/rimapd and "ln -s /etc/rimapd
	   /usr/local/etc/imapd"

	3) Installing imapd in /usr/local/etc, creating a symlink from
	   /etc/imapd to /usr/local/etc/imapd and a link from /etc/rimapd
	   to /etc/imapd

	4) Installing imapd as /etc/rimapd and having inetd call /etc/rimapd
	   for imap requests

None of these have worked as I expected.  Please, any help is
appreciated.  This is a SunOS 4.1.3 machine with /etc and
/usr/local/etc on separate partitions (if it matters).

Thank in advance,

/KS

---

From: Barry Cornelius <[email-masked]>
Date: Tue, 14 Dec 1993 08:51:01 +0100 (BST)

> ...

Even if you have got the rimapd mechanism set up correctly, you may be
asked for your password.  Usually it is one of the following: 

(a) Your .cshrc file does output to the screen, e.g., it uses the
    echo command.  You will need to remove the appropriate lines 
    from the .cshrc file.

(b) Your .cshrc file contains a use of the Unix command stty.
    Probably you can move the stty command to your .login file.

--
Barry Cornelius                            Durham (091 or +44 91) 374 4717
Information Technology Service,                IT Service Office: 374 2892
University of Durham, Durham.                                Fax: 374 3741
DH1 3LE, UK                           E-mail: [email-masked]

---

From: Kari Sutela <[email-masked]>
Date: Tue, 14 Dec 1993 16:26:08 +0200

Thanks, but I don't think it's either of the reasons you mentioned 
(.cshrc outputting to screen or .cshrc containing a stty command).  For 
example:

polaris> rsh mailhost echo "Hi there" 
Hi there
polaris>

No extra output as you can see.  There's no stty in my .bashrc (we use 
bash here), either.  I don't know if it matters but our rshd and rlogind 
are filtered by the tcp wrapper set so that only few hosts can make an 
rsh or rlogin connection to out mail host (my client can, of course).

I'm baffled.

/KS

---

From: Mark Crispin <[email-masked]>
Date: Tue, 14 Dec 1993 08:06:27 -0800 (PST)

What happens when you do
	rsh mailhost /etc/rimapd

---

From: Kari Sutela <[email-masked]>
Date: Tue, 14 Dec 1993 19:21:24 +0200

> 	rsh mailhost /etc/rimapd

Yep, that was it.  I got "/etc/rimapd: permission denied".  I had 
installed imapd with mode 700 (the owner was root).  Inetd calls imapd as 
root so there was no problem until I tried the rimapd mechanism.  
Now its mode is 755 and everything runs perfectly.  Thanks!

/KS