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@xxxxxxxxxxxx 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@xxxxxxxxxxxx is a cyrus admin, so it sees the internal
namespace instead of the client namespace.
Andy
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html