Subject: Re: rsh to IMAP server

From: [email-masked] (H�kan Lindholm)
Date: 14 Mar 1997 03:09:28 GMT

=?ISO-8859-2?Q?Hanu=B9_Adler?=  <[email-masked]> wrote:
>Could someone please explain why pine does rsh to IMAP server before
>connecting there? is it possible to switch it off?

.. at the end of your .pinerc 

-- 
Håkan Lindholm          interAF           Email:[email-masked]
Kämnärsvägen 15 H:22    Sandgatan 2       Fax:046-2112505
SE-226 46  LUND         SE-223 50  LUND   http://purl.oclc.org/NET/hakan
046-391492              046-132630        StudentDatorRådgivare Mac

---

From: Hanuš Adler <[email-masked]>
Date: Thu, 13 Mar 1997 13:13:47 +0100

thank you,

hanus adler
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Public PGP key available by sending mail to me with Subject: send pgp

---

From: Mike Brudenell <[email-masked]>
Date: Fri, 14 Mar 1997 09:10:31 +0000 (GMT)

> connecting there? is it possible to switch it off?

Pine (but not PC-Pine) attempts to use the "rsh" mechanism to connect to
your IMAP server in case your Systems Administrator has set up a
"pre-authenticated" version of the IMAP server software.

This is done very simply (setting up a symbolic link from one filename to
another), and then gives users access to the IMAP server without them
having to type in their username and password to Pine eash session.  This
is possible because the rsh mecnahmism allows the IMAP server to determine
the username that the person has already authenticated under.

So the ideal solution (from your, the user's, point of view) is to ask
your Systems Administrator to consider setting up the pre-authenticated
server.

If they don't want to then you _can_ disable the rsh attempt.

One way, which works on a per-host basis, is to add ":143" after the IMAP
server host name in your Pine Setup Configuration screen.  Thus

	{imap.site.domain}INBOX

would be changed to

	{imap.site.domain:143}INBOX

The presence of the ":143" means that Pine will not try the rsh mechanism,
but instead open an unauthenticated connection to the IMAP server straight
away and prompt you to enter your username and password.

Alternatively, you can set the "rsh-open-timeout" to 0 in your .pinerc
file, which disables rsh attempts for _all_ the IMAP servers you specify.
As this is something users are not normally expected to tamper with there
is no "pretty" interface in the Setup Configuration screen to do this; you
will need to edit your .pinerc file with your favourite text editor.

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/