Здравствуйте.
Поставил почтовую систему Postfix+SASL, Courier, MySQL и SquirrelMail (Ubuntu 8,04)
SASL authentication не работает.log
Jul 9 17:58:04 voyager postfix/smtpd[10814]: warning: SASL authentication failure: Password verification failed
Jul 9 17:58:04 voyager postfix/smtpd[10814]: warning: unknown[]: SASL PLAIN authentication failed: authentication failure
Jul 9 17:58:04 voyager postfix/smtpd[10814]: warning: unknown[]: SASL LOGIN authentication failed: authentication failure
Jul 9 17:58:06 voyager postfix/smtpd[10814]: disconnect from unknown[]
smtpd.conf
pwchek_method: saslauthd
mech_list: plain login
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: 127.0.0.1
sql_user: user
sql_passwd: user
sql_database: mail
sql_select: select password from users where email = '%u'
main.cf
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_authenticated_header = yes
smtpd_sasl_application_name = smtpd
broken_sasl_auth_clients = yes
/etc/pam.d/smtp
auth required pam_mysql.so user=user passwd=user host=127.0.0.1 db=mail table=users usercolumn=email passwdcolumn=password crypt=1
account sufficient pam_mysql.so user=user passwd=user host=127.0.0.1 db=mail table=users usercolumn=email passwdcolumn=password crypt=1
если smtpd_sasl_auth_enable = no то все работает.
Сourier работает как надо.
Что может быть?
Спасибо!