Cyrus IMAP + SASL and MYSQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux