Dmitry Rybin pisze:
> YES.
>
> imapd.conf
> sasl_pwcheck_method:    auxprop
> sasl_mech_list:         plain login cram-md5 digest-md5
> sasl_auxprop_plugin:    sql
> sasl_sql_engine:        mysql
> sasl_sql_hostnames:     localhost
>
> but change database is necessary. May be exists example of this changes?
Hi,
No database changes are necessary.

add to imap.conf:
sasl_pwcheck_method: auxprop
sasl_mech_list: plain login cram-md5 digest-md5
sasl_auxprop_plugin: sql
sasl_sql_engine: mysql
sasl_sql_user: username
sasl_sql_passwd: passowrd
sasl_sql_hostnames: localhost
sasl_sql_database: mail
sasl_sql_statement: select password from accountuser where username =
'%u' and imap = 1


Best regards,
Lukasz
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to