login doesn't fully work, authenticate does

Luca Olivetti luca at wetron.es
Mon Oct 5 12:53:25 EDT 2009


Hello,

I just upgraded my cyrus-imapd server from 2.2.12 to 2.3.15.
Squirrelmail stopped working with the error 'SELECT "INBOX" - mailbox 
does not exist".
I found out that neither SELECT nor STATUS work if authenticating with 
login, while they work with AUTHENTICATE (which I cannot use with 
squirrelmail and my setup)


$ imtest -m login localhost
S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=PLAIN 
AUTH=CRAM-MD5 SASL-IR COMPRESS=DEFLATE] mail.wetron.es Cyrus IMAP 
v2.3.15-Mandriva-RPM-2.3.15-1.1.100mdk server ready
Please enter your password:
C: L01 LOGIN luca {8}
S: + go ahead
C: <omitted>
S: L01 OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=PLAIN 
AUTH=CRAM-MD5 SASL-IR COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA 
MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN 
MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE LISTEXT 
LIST-SUBSCRIBED X-NETSCAPE URLAUTH] User logged in
Authenticated.
Security strength factor: 0
x SELECT INBOX
x NO Mailbox does not exist
x LOGOUT
* BYE LOGOUT received
x OK Completed
Connection closed.


$ imtest -m plain localhost
S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=PLAIN 
AUTH=CRAM-MD5 SASL-IR COMPRESS=DEFLATE] mail.wetron.es Cyrus IMAP 
v2.3.15-Mandriva-RPM-2.3.15-1.1.100mdk server ready
Please enter your password:
C: A01 AUTHENTICATE PLAIN xxxxxxxxxxxxxxxxxxxxx
S: A01 OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID LOGINDISABLED 
COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE 
UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT 
SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE 
CATENATE CONDSTORE SCAN IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH] 
Success (no protection)
Authenticated.
Security strength factor: 0
x SELECT INBOX
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen $Forwarded $MDNSent 
NonJunk Junk $Label1 $Label2 $Label3 $Label4 $Label5)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen 
$Forwarded $MDNSent NonJunk Junk $Label1 $Label2 $Label3 $Label4 $Label5 
\*)]
* 3060 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 904828784]
* OK [UIDNEXT 45691]
* OK [NOMODSEQ] Sorry, modsequences have not been enabled on this mailbox
* OK [URLMECH INTERNAL]
x OK [READ-WRITE] Completed
x LOGOUT
* BYE LOGOUT received
x OK Completed
Connection closed.



It worked either way with 2.2.12 and I couldn't find a configuration 
option controlling this behavior.
Is there one?

Bye
-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 (Ext.133)  Fax +34 93 5883007


More information about the Info-cyrus mailing list