From: Christian Schulte (no email)
Date: Mon Aug 04 2003 - 20:47:55 EDT
> 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
|
|
|