Ok, this is weird. I finally have things working alright on my Debian/Sarge box. The only thing I built from source is cyrus-imapd-2.2.8, everything else are Debian packages. I am using pam-mysql and saslauthd (with -r) to authenticate users.
Scenario 1: My imapd.conf has virtdomains configured but no default domain. I can authenticate fine as '[EMAIL PROTECTED]' but 'fred' alone fails. Just as expected and everything is fine. My sql log shows that '[EMAIL PROTECTED]' and 'fred' are used as usernames correctly when each respective name attempts login. Again, exactly as I would have expected. Scenario 2: My imapd.conf has virtdomains configured and the defaultdomain is set to example.com. I cannot authenticate as '[EMAIL PROTECTED]' nor can I authenticate as 'fred'. My sql log shows that 'fred' is used for both attempts. I would have expected that '[EMAIL PROTECTED]' would have been used. My maillog on the other hand shows this when I try to login as user '[EMAIL PROTECTED]', for some reason it is not taking the domain along. Oct 22 21:42:04 yoda imapd/imap[20228]: badlogin: localhost.localdomain [127.0.0.1] plaintext fred SASL(-13): authentication failure: checkpass failed Even though my login with 'fred' doesn't succeed either, there is no log entry from imap that a login attempt happened. Any ideas? Thanks, Adi --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html