Subject: Re: Pine 3.95 using rsh for rimap rather than going for straight imap

From: "Steve \"Stevers!\" Coile" <[email-masked]>
Date: Tue, 4 Feb 1997 13:50:18 -0500 (EST)

To answer my own question: set the "rsh-open-timeout" option in 
"$HOME/.pinerc" to "0":

# Sets the time in seconds that Pine will attempt to open a UNIX remote
# shell connection.  The default is 15, min is 5, and max is unlimited.
# Zero disables rsh altogether.
rsh-open-timeout=0

--
    Steve Coile           P a t r i o t  N e t      Systems Engineering
 [email-masked]      Patriot Computer Group        (703) 277-7737

---

From: Mike Brudenell <[email-masked]>
Date: Wed, 5 Feb 1997 10:07:14 +0000 (GMT)

Just for further information...

Setting the "rsh-open-timeout" to 0 is certainly one way of avoiding the
attempted rsh opening of mail folders.  (This variable can only be set by
editing the .pinerc file; there isn't a way to do this from within Pine's
own Setup Configuration screen.)

Note, however, that this affects connections to all IMAP servers.

If you are using some servers which do support rsh connections then you
may instead prefer to leave the rsh-open-timeout alone.  The attempt to
rsh to the non-rsh'able servers can be suppressed _just for them_ by
appending their IMAP port number to their hostname in your setup.  The
default port number for IMAP is 143, so a mailbox spec would then become
something like: 

	{imap.site.domain:143}inbox

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/

On Tue, 4 Feb 1997, Steve Stevers! Coile wrote:

> Using Red Hat Linux 4.0 + updates.  Pine 3.95.
> 
> I'm trying to use Pine 3.95 to connect to an IMAP server.  It appears,
> though, that Pine is configured to attempt to use rsh to invoke rimapd
> before trying imap directly.  (1) Why?  (2) Is there a way to change this?
> My mail server isn't about to allow users to rsh into it.  Having to
> wait 10 seconds for rsh to fail each time I attempt to access a new
> folder is rather annoying.
> 
> --