INBOX Prefix problem with sasldb authentication

Frédéric MERCIER mercier.frederic at iname.com
Wed Sep 23 15:30:35 EDT 2009


Andrew Morgan a écrit :
> On Wed, 23 Sep 2009, Frédéric MERCIER wrote:
>
>> Hi,
>>
>> I have actually a cyrus IMAP server which work fine from a long time
>> with an saslauthd and pam.
>>
>> I want to switch from salsauthd to salsdb2 to be able to use a secure
>> authentication (DIGEST-MD5 and CRAM-MD5).
>>
>> My new configuration work fine for authentication, but with the sasldb2
>> one, I don't have the INBOX prefix.
>>
>> For example :
>>
>> Authentication with saslauthd :
>>
>> myserver:~# telnet localhost 993
>> Trying 127.0.0.1...
>> Connected to localhost.
>> Escape character is '^]'.
>> * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=PLAIN AUTH=CRAM-MD5
>> AUTH=DIGEST-MD5 SASL-IR COMPRESS=DEFLATE] myserver.mydomain.net Cyrus
>> IMAP v2.3.15 server ready
>> . login test mypassword
>> . 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 URLAUTH] User logged in
>> . list "*" "*"
>> * LIST (\HasChildren) "." "INBOX"
>> * LIST (\HasChildren) "." "INBOX.Administratif"
>> etc ...
>>
>>
>> Authentication with sasldb2 :
>>
>> myserver:~# telnet localhost 993
>> Trying 127.0.0.1...
>> Connected to localhost.
>> Escape character is '^]'.
>> * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=PLAIN AUTH=CRAM-MD5
>> AUTH=DIGEST-MD5 SASL-IR COMPRESS=DEFLATE] myserver.mydomain.net Cyrus
>> IMAP v2.3.15 server ready
>> . login test at mydomain.net mypassword
>> . 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 URLAUTH] User logged in
>> . list "*" "*"
>> * LIST (\HasChildren) "." "user.test"
>> * LIST (\HasChildren) "." "user.test.Administratif"
>> etc ...
>>
>> user.test is not set as INBOX Prefix. The result is that my MUA is not
>> able to find my mails ...
>
> It looks like test at mydomain.net is a cyrus admin, so it sees the 
> internal namespace instead of the client namespace.
>
>     Andy
In imapd.conf and impad-local.conf I have only cyrus or 
cyrus at mydomain.net behind the admins: option.

Frederic.



More information about the Info-cyrus mailing list