Imp talking to imap problem.

Robert Hendelman Jr robtinho@ushost.com
Thu, 07 Feb 2002 13:02:57 -0600


Hello,

I'm new to imp but so far I've got everything setup except actually
being able to login.  Here are the details:

Duron 800mhz, 512MB ram, 60GB disk 
OpenBSD 3.0 GENERIC kernel with all errata patches
Apache 1.3.20
php 4.0.6 with pear patch
postgresql 7.1.3
turba (latest as of yesterday) 
horde framework 2.0
imp 3.0.
uwashington imapd from ports (imap-uw-2001.313)

If I go to the horde/test.php page it works fine.
I loaded all the scripts into postgresql database fine.
Imp loads fine EXCEPT when I try to login.  All services mentioned
above are on the same physical computer.  When I try to login,
I get the following in /var/log/maillog:

Feb  7 12:17:14 beta imapd[17780]: Command stream end of file, while
reading line user=??? host=beta.naseca.net [10.0.0.24]

And IMP reports back that the login/password isn't correct.  If I telnet
to port 143 of the SAME box, and do the following:

<root@beta 12:58:44 /etc> telnet 127.0.0.1 143
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN]
localhost IMAP4rev1 2001.313 at Thu, 7 Feb 2002 12:58:47 -0600 (CST)
0 login rob passwordhere
0 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS SCAN SORT
THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User rob
authenticated
0 logout
* BYE beta.naseca.net IMAP4rev1 server terminating connection
0 OK LOGOUT completed
Connection closed by foreign host.

The following shows up in the log

Feb  7 12:58:55 beta imapd[19985]: Login user=rob host=localhost
[127.0.0.1]
Feb  7 12:58:58 beta imapd[19985]: Logout user=rob host=localhost
[127.0.0.1]

I authenticate without problems, so I don't think it's an IMAPD
problem.  It's some problem with IMP talking to imapd.

Anyone have any clues what could be going on?  I searched the FAQ &
google and couldn't come up with anything useful for the the "Command
stream end of file" error  except that it means the calling client is
terminating the imap connection in a not-nice way (without a logout
command).

Any suggestions welcome,

Thanks

Rob Hendelman
rob@quadwahore.com