Bug#495132: cyrus-imapd-2.2: splits username from domain when virtdomains: userid

Richard Williams richard at rvw.dyndns.org
Thu Aug 14 18:41:00 UTC 2008


Package: cyrus-imapd-2.2
Version: 2.2.13-10
Severity: important

I tried to reproduce a server system on Lenny that runs successfully on Etch.  The system uses virtual domains for email with cyrus-imapd-2.2, cyrus-common-2.2 and cyrus-pop3d-2.2.

A local setup maintains a MySQL database containing domain and user details and authentication is via pam-mysql that has been rebuilt to include openssl.
Separate mailboxes are set for each user per domain so the mailbox for fred at abc.com is separate fromfred at def.com.  This relies on virtdomains: userid in imapd.conf.
With sql=1 as one of the parameters in /etc/pam.d/imap, auth.log shows that the SQL query is of the form SELECT account='user' .... instead of SELECT account='user at domain'.  this causes authentication to fail as the query does not find a match.

(Sorry, system information deleted as this email sent from the Etch system as email on the Lenny system is unusable without virtdomains working correctly).





More information about the Pkg-Cyrus-imapd-Debian-devel mailing list