Logged out of IMAP server for no reason

Steve Mallory smallory@jbs1.com
Wed, 9 Jan 2002 10:44:47 -0500


I have recently installed horde 2.0 and imp 3.0. /horde/test.php 
showed no problems but I have been unable to login to my IMAP server.

I set my IMAP server logging to verbose, tried logging in a few times, and 
discovered that I was logging in, but I was immediately logged out. Here is a 
snippet from the IMAP server logs:

10:09:22.80 5 IMAP connection request from [10.8.0.72], socket=253
10:09:22.80 4 IMAP-01355([10.8.0.72]) got connection on [10.5.5.55], port 143
10:09:22.80 5 IMAP-01355([10.8.0.72]) out: * OK CommuniGate Pro IMAP Server 
3.4.8 at jbs1.com ready\r\n
10:09:22.81 5 IMAP-01355([10.8.0.72]) inp: 00000000 CAPABILITY
10:09:22.81 5 IMAP-01355([10.8.0.72]) out: * CAPABILITY IMAP4 IMAP4REV1 ACL 
NAMESPACE UIDPLUS IDLE LITERAL+ QUOTA STARTTLS ID MULTIAPPEND AUTH=LOGIN 
AUTH=PLAIN AUTH=CRAM-MD5 AUTH=DIGEST-MD5\r\n0000000
10:09:22.82 5 IMAP-01355([10.8.0.72]) inp: 00000001 AUTHENTICATE LOGIN
10:09:22.82 5 IMAP-01355([10.8.0.72]) out: + VXNlcm5hbWU6\r\n
10:09:22.82 5 IMAP-01355([10.8.0.72]) inp: c21hbGxvcnk=
10:09:22.82 5 IMAP-01355([10.8.0.72]) out: + UGFzc3dvcmQ6\r\n
10:09:22.83 5 IMAP-01355([10.8.0.72]) inp: OXVpcmVuNQ==
10:09:22.83 2 IMAP-01355([10.8.0.72]) 'smallory@jbs1.com' connected from 
[10.8.0.72]
10:09:22.83 5 IMAP-01355([10.8.0.72]) out: 00000001 OK completed\r\n
10:09:22.83 5 IMAP-01355([10.8.0.72]) inp: 00000002 CAPABILITY
10:09:22.83 5 IMAP-01355([10.8.0.72]) out: * CAPABILITY IMAP4 IMAP4REV1 ACL 
NAMESPACE UIDPLUS IDLE LITERAL+ QUOTA STARTTLS ID MULTIAPPEND AUTH=LOGIN 
AUTH=PLAIN AUTH=CRAM-MD5 AUTH=DIGEST-MD5\r\n0000000
10:09:22.88 5 IMAP-01355([10.8.0.72]) inp: 00000003 LOGOUT
10:09:22.88 5 IMAP-01355([10.8.0.72]) out: * BYE CommuniGate Pro IMAP closing 
connection\r\n00000003 OK completed\r\n
10:09:22.88 2 IMAP-01355([10.8.0.72]) 'smallory@jbs1.com' disconnected 
([10.8.0.72])
10:09:22.88 4 IMAP-01355([10.8.0.72]) closing connection
10:09:22.88 4 IMAP-01355([10.8.0.72]) releasing stream


As you can see, it appears that imp is logging me in, then asking for the 
servers capabilities twice, then logging me out.

I thought it may have been my folder prefix setting in 
imp/config/servers.php, but nothing I tried made any difference.

I would have liked to check the horde log, but I have been unable to get that 
working. Possibly related is that for each session there are at least three 
sess_* files, sometimes more and they are not cleaned up after hitting the 
logout link or closing the browser.

Any suggestions?

Thanks

Steve