auth problems, cyrus not using my saslauthd/pam config

Dan White dwhite at
Wed May 26 18:59:01 EDT 2010

On 26/05/10 11:39 -0400, Steve Maring wrote:
>I am on an Ubuntu 10.04 system with Cyrus 2.2.13 trying to get my imap
>user's to auth again my mysql database.
>I can do this:
># testsaslauthd -u smaring at -p xxxxxxxx -f
>/var/spool/postfix/var/run/saslauthd/mux -s imap
>0: OK "Success."
>However, I never seem to be able to step up one level and authenticate
>through imap:
>my /etc/imapd.conf:
>sasl_mech_list: PLAIN LOGIN
>virtdomains: userid
>sasl_pwcheck_method: saslauthd
>sasl_auto_transition: no

You need:

sasl_saslauthd_path: /var/spool/postfix/var/run/saslauthd/mux

and verify that your cyrus user has permissions to the mux.

>my /etc/default/saslauthd:
>DESC="SASL Authentication Daemon"
>OPTIONS="-m /var/spool/postfix/var/run/saslauthd -r"

Dan White

More information about the Cyrus-sasl mailing list