Cyrus IMAP SASL authentication failure

Evgeniy Arbatov arbatovevgeniy at
Wed Jun 17 08:51:49 EDT 2009


I have a problem with Cyrus IMAP SASL authentication.

When I try to login to create Cyrus IMAP mailboxes, I see the following:

$ cyradm --user cyrus --auth login localhost
IMAP Password:
Login failed: generic failure at /usr/lib/perl5/Cyrus/IMAP/ line 119
cyradm: cannot authenticate to server with login as cyrus

This message appears even when I enter incorrect password. Can I be missing
some of the packages (I am running Ubuntu 9.04)?
I use sasldb authentication mechanism for saslauthd.

Here is an extract from my imapd.conf file:

admins: cyrus
imap_admins: cyrus
sasl_mech_list: LOGIN
sasl_minimum_layer: 1
sasl_maximum_layer: 256
sasl_pwcheck_method: saslauthd

This is what I see in my /var/log/mail.log
cyrus/imap[7257]: badlogin: localhost [::1] plaintext cyrus SASL(-1):
generic failure: checkpass failed

If I try to telnet on imap port I have:

Connected to localhost.
Escape character is '^]'.
* OK computer Cyrus IMAP4 v2.2.13-Debian-2.2.13-14ubuntu3 server ready
imap login cyrus password
imap NO Login failed: generic failure

An interesting thing is that I have already setup Postfix sasldb
authentication on the same host and it works fine.

Any advice is much apreciated!  Thank you in advance!

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Info-cyrus mailing list