Remote Client Access

Christian Schulte cs at schulte.it
Mon Aug 4 20:47:55 EDT 2003


> My users and aliases, with passwords, are stored in MySQL and retrieved by
> PAM with SASL.  I believe this is the an error with my PAM or SASL, but I
> wanted to make sure I had configured the remote clients correctly. Thanks!
>
> David W

Why not simply use SASL auxprop mysql bypassing PAM ?

In my imapd.conf:

sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: mysql
sasl_allowanonymouslogin: no
sasl_allowplaintext: yes
sasl_mech_list: PLAIN LOGIN
sasl_mysql_user: a user
sasl_mysql_passwd: a password
sasl_mysql_hostnames: localhost
sasl_mysql_database: a database name
sasl_mysql_statement: select password from users where login='%u' and 
domain='%r'


--Christian





More information about the Info-cyrus mailing list