On Wednesday 11 January 2006 22:51 kashani wrote:
>       Courier-imap 4.0 and up began using courier-authlib. Since you have to
> run authlib to use courier-imap, many virtual how-to's started slaving
> cyrus-sasl off authlib rather than have it talk to Mysql directly
> through pam_mysql. Also with authlib you could use encrypted passwords
SASL-Authentication for Postfix (and maybe Cyrus-Imap, I've not checked it 
right now) is also possible through *SQL without the need of Pam using 
cyrus-sasl.

cyrus-sasl _must_ be compiled with support for MySQL or something like that.

Content of my /etc/sasl2/smtpd.conf:
pwcheck_method: auxprop
auxprop_plugin: sql
mech_list: PLAIN LOGIN
log_level: 1
password_format: crypt

sql_engine: mysql
sql_hostnames: localhost
sql_user: USER
sql_passwd: PASSWORD
sql_database: Hosting
sql_select: SQL_SELECT_STRING
sql_verbose: no
sql_usessl: no

> kashani
HAND,
Steffen

Attachment: pgpenEFUslPMH.pgp
Description: PGP signature

Reply via email to