I'm trying to get Cyrus IMAP (v 2.2 on Ubuntu 9.04) setup and working, but I'm having a bit of trouble getting the login working correctly.
I've created a mailbox for my test user "nrahl":
and then created a password:
$ saslpasswd2 nrahl
I'm attempting to connect to the mailbox using Thunderbird. I'm using the machine's LAN IP address as the host, and "nrahl" as the username. It connects to the server and prompts me for the password. When I enter it, I get "Login to server failed." in Thunderbird, and /var/log/mail.log shows:
Apr 15 19:20:01 IMAP cyrus/imap: accepted connection Apr 15 19:20:09 IMAP cyrus/imap: badlogin: [192.168.5.21] plaintext nrahl SASL(-13): authentication failure: checkpass failed
Part of /etc/imapd.conf with comments removed:
sieveusehomedir: false sievedir: /var/spool/sieve #mailnotifier: zephyr #sievenotifier: zephyr #dracinterval: 0 #drachost: localhost hashimapspool: true allowplaintext: yes sasl_mech_list: PLAIN #allowapop: no #sasl_maximum_layer: 256 #loginrealms: example.com #virtdomains: userid #defaultdomain: sasl_pwcheck_method: saslauthd #sasl_auxprop_plugin: sasldb sasl_auto_transition: no
in /etc/imapd.conf, login works correctly. So I'm assuming the issue is saslauthd related.