Subject: Problem with pre-authenticated imap access from pine

From: John Outerbridge <[email-masked]>
Date: Mon, 29 Apr 1996 10:13:45 -0400 (EDT)

We have a mail/imap server (i586) recently converted to RedHat Linux.
Since conversion, *some* pine users on "trusted" Unix hosts are forced to
enter a password, even though:
    - /etc/rimapd on the server points to imapd
    - 'rsh <imap-server> exec /etc/rimapd' from the client succeeds (sort 
of).

The problem occurs if the user's login shell on the server is csh or
tcsh, but not if the login shell is bash.

The problem is, the response from imapd to the 'rsh ...'  command is
preceeded by a line containing "TERM: Undefined variable".  Turns out
this stems from a bug in the RedHat's version of /etc/csh.cshrc, which
tests the value of $TERM, which is undefined in a non-interactive
login.

This is a bug in RedHat version 2.1 and 3.0.3.  However, the nature of
the problem should be better documented in Pine.

--
John Outerbridge			     Internet:	[email-masked]
Centre for Nonlinear Dynamics		     Telephone:	514 398 4340
McGill University, Montreal, Canada H3G1Y6   Fax:       514 398 7452