Cyrus IMAP + SASL and MYSQL

Amedeo Mantica amedeomailing at insigno.it
Sun Jun 29 05:59:35 EDT 2008


Hello, I'm new to SASL, I run Cyrur IMAP on MacOS X

I wolud like to authenticate users via MySQL database, but I'm unable  
to do it, I recompiled Cyrus-SASL with sql options enabled and with  
mysql [ath specified, I edited my imapd.conf file adding there lines:

sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sql
sasl_sql_engine: mysql
sasl_mech_list: login plain
sasl_sql_hostnames: localhost
sasl_sql_user: cyrus
sasl_sql_passwd: YourPassWordHere
sasl_sql_database: userdatabase
sasl_sql_verbose: yes
sasl_sql_select: SELECT password FROM accounts WHERE userid = '%u


but I' unable to login, cn you help me?

Best regards
Amedeo


More information about the Cyrus-sasl mailing list