Subject: Re: Help: connect to imapd is slow

From: [email-masked]
Date: 3 Aug 1995 00:25:50 GMT

In <Pine.HPP.3.91.950724150752.14062A-100000@huhc06>, [email-masked] ("John R. Violette") writes:
>When I set my inbox to be on a remote IMAP server, it takes
>about 30 seconds to get prompted for my password. This seemed kind
>of long so I tried it with mtest which is the c-client test 
>program. It still took 30 seconds. Then I tried a telnet to port
>143 and that is immediate. Is this delay normal when you first 
>start up pine. 
>
>I have pine 3.91 on HP-UX 9.01 series 715. The imapd is running 
>on hpux 9.01 also on a 730. Any help would be appreciated as I
>could not find the answer in the FAQ or anywhere else.

I have experienced the same 30+ second delay running PINE on
IBM RS/6000 Workstation.. I've built the executable over and over
trying to tune and optimizing it...

Interesting enough, these workstation are all NFS mounting their
home and applications directories for a single superserver, if I 
perform a POP or IMAP to a standalone system, it only takes 5
seconds... go figure...

Workstation are all running AIX v3.2.5 and standalone is running
the latest and greatest AIX v4.1

-Michael

---

From: Mark Crispin <[email-masked]>
Date: Thu, 3 Aug 1995 15:03:02 -0700

Your server system is almost certainly set up so that the command:
	rsh imapserver /etc/rimapd
(where "imapserver" is the name of your IMAP server) hangs instead of
returning an immediate rejection (e.g. "Permission denied").

This is often caused by TCP wrappers and or gateway filters, and is
exacerbated by a bug in rsh which causes TCP or IP level rejections to be
ignored.

To work around this, specify the port number explicitly in the mailbox
name:
	{imapserver:143}inbox
This will cancel the rsh attempt.

> the latest and greatest AIX v4.1

-- Mark --

DoD #0105, R90/6 pilot, FAX: (206) 685-4045  ICBM: N 47 39'35" W 122 18'39"
Science does not emerge from voting, party politics, or public debate.

---

From: [email-masked] (Gene Mangum)
Date: Fri, 04 Aug 1995 19:53 ET

> returning an immediate rejection (e.g. "Permission denied").
 
[Stuff Deleted]
 
> This will cancel the rsh attempt.
 
[Stuff Deleted]
 
I have this on all lines in my .pinerc which reference the server, and I
still get the rsh when I list folders (the "L" command).   Any way to
fix this?