Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm running Fedora. I'm trying to get cyrus-sasl to authenticate through mysql for imap. If I set it to sasl_pwcheck_method: saslauthd it works fine. When I change it, below is what happens and my setup.
Here's my tail /var/log/maillog
Feb 9 15:53:18 localhost imap: badlogin: blang.maxyourstats.com [127.0.0.1] plaintext maxyourstats0001 SASL(-13): user not found: checkpass failed
# admins: cyrus # no admins!
sasl_sql_user: user //changed for post
sasl_sql_password: password //changed for post
sasl_sql_statement: select password from accountuser where username = '%u'
sasl_mech_list: login plain
I set mysql to log, and when I login with the mysql client and run queries they show up in the log, so logging works. However when I run the imtest command and try to authenticate imap, nothing ever appears in the mysqld.log, so it's like cyrus-imapd isn't even trying to talk to mysql.