Subject: Slow connection to IMAP server ?

From: Christophe Harbine <[email-masked]>
Date: Thu, 5 Sep 1996 16:33:25 +0200

Hello,

	We are running unix pine 3.95 as imap client on both sunOS 4.1.3
and Solaris 2.5. Our IMAP server is a P133 under FreeBSD. We are facing
the following problem :

	We have tried the 2 following syntaxes in .pinerc on client side :

1.	inbox-path={imap.domain.fr/user=chris}inbox

2.	inbox-path={[192.45.233.7]/user=chris}inbox

	On client side under SunOS, with the first syntax, we need about
30 seconds until we get the password prompt ( message 'Opening "INBOX"' ).
With the second syntax, it's very quick ( 1 second or 2 ).

	On client side under Solaris, opening the mailbox is very slow (
about 30 seconds ) with both syntaxes in .pinerc !...

	Certainly a problem with name resolving on client and/or server
side ?... Has anyone already faced this problem ? Any idea ?...

	Thanks for your help.

Amicalement,    /\
Christophe     /  \/\    ---------------------------------------------
              /   /  \   Christophe Harbine     -     Centre de Calcul
 /\      /\  / /\/    \  Universite de Savoie  -  Domaine Scientifique
/  \/\  /  \/\/   /\     73376 Le Bourget du Lac Cedex     -    France
/\    \/     /   /\ \    Tel: (33) 79 75 87 54 - FAX: (33) 79 75 88 55
  \    \    /   /  \/\   ---------------------------------------------

---

From: Clifford Wesley Fulford <[email-masked]>
Date: Fri, 6 Sep 1996 14:03:19 +0100 (BST)

Christophe

I had this problem with 3.91 and I suspect the problem is with the rsh
responses from server. If so it can can be dealt with quite easily
assuming 3.95 works the same way. (I no longer have an IMAP server to
check) 

Pine tries to make an rsh connection first and waits till thats rejected
before trying IMAP. In some configurations this can be very slow. 

To make pine go straight to imap include the port number a la

	inbox-path={imap.domain.fr:143/user=chris}inbox

The difference between the two boxes is that your SunOS box is having
difficulties resolving the IP address and you would need to look at your
NIS/NIS+ configuration to deal with that.

> /\    \/     /   /\ \    Tel: (33) 79 75 87 54 - FAX: (33) 79 75 88 55

Clifford Wesley Fulford
_________________________________________________________________________
CBF-International   |  [email-masked]            | 044 (0)181-986-5239
17 Sewdley Street   |  [email-masked] | 044 (0)171-577-2741
Lea Bridge, E5-AX.  |                               |
-------------------------------------------------------------------------

---

From: [email-masked] (Stephen Balbach)
Date: 7 Sep 1996 19:02:36 GMT

In article <[email-masked]>,
>2.	inbox-path={[192.45.233.7]/user=chris}inbox

This is why:

explorer2:[/opt3/stephen] nslookup 192.45.233.7

*** explorer2.clark.net can't find 192.45.233.7: Non-existent domain

Setup IN-ADDR.

/stb

--
---
Stephen Balbach  "Driving the Internet To Work"
VP, ClarkNet     due to the high volume of mail I receive please quote
[email-masked]   the full original message in your reply.