cyrus + sasl + pam + mysql problem

Muenz, Michael linux at leute.server.de
Thu Mar 2 07:50:15 EST 2006


> Is this true?  Because:
>
> An imapd.conf with
>
> sasl_mech_list: PLAIN
> sasl_pwcheck_method: auxprop
> sasl_auxprop_plugin: sql
> sasl_sql_engine: mysql
> sasl_mech_list: PLAIN
> sasl_sql_hostnames: localhost
> sasl_sql_user: mail
> sasl_sql_passwd: x
> sasl_sql_database: mail
> sasl_sql_verbose: yes
> sasl_sql_select: SELECT password FROM accountuser WHERE username = '%u'

sasl_pwcheck_method: saslauthd
Nothing else. All other stuff is handled by imap pam file.

> b) Then I tried to configure cyrus to use pam (that then use mysql)
>
> pwcheck_method: PAM

saslauthd! And saslauthd uses pam!

> If somebody could give me some pointers, it would be very much
appreciated!

Have a look at the web-cyradm Howto which explain your needs.
http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/index.html


Michael



More information about the Info-cyrus mailing list