Cyrus Authentication problems

Simon Matter simon.matter at
Fri Dec 5 04:12:23 EST 2003

> I've set up a Cyrus IMAP server (on RH9), and it's working great. However,
> I
> didn't document the process of adding users/mailboxes, and know when I try
> to add someone, they can't authenticate. I don't have a good understanding
> of how authentication works in Cyrus, but here are (I think) relevant
> entries in my /etc/imapd.conf file:
> sasl_pwcheck_method: saslauthd
> sasl_mech_list: PLAIN
> IIRC, all I did initially to add users was add a user to /etc/passwd, and
> use saslpasswd -c, and then use cyradm to create the mailbox. However,

With your config, forget saslpasswd, you don't have to use it. You can add
unix users and then create the mailboxes for them. Call cyradm like this:

cyradm --user cyrus --auth login localhost

then use 'cm' to create the mailboxes.


> when
> I do that now, and test using imtest, I get an error:
> S: L01 NO Login failed: authentication failure
> Authentication failed. generic failure
> sasldblistusers only lists the user the user I just created, and none of
> the
> working users. So I guess that I'm not using sasldb.
> Any help is greatly appreciated!
> Doug Koobs
> Computer Analyst
> Financial Credit Services
> 727-446-0018
> Confidential: This electronic message and all contents contain information
> from
> Financial Credit Services which may be privileged, confidential or
> otherwise protected
> from disclosure. The information is intended to be for the addressee only.
> If you are
> not the addressee, any disclosure, copy, distribution or use of the
> contents of this
> message is prohibited. If you have received this electronic message in
> error, please
> notify the sender and destroy the original message and all copies.

More information about the Info-cyrus mailing list