Postfix SMTP Auth Error “no SASL authentication mechanisms”

系统:CentOS 5.8

postfix 装完之后按官方文档配置cyrus,telnet localhost 25报错:

Connection closed by foreign host.

查看/var/log/maillog

Feb 25 09:57:26 localhost postfix/smtpd[839]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
Feb 25 09:57:26 localhost postfix/smtpd[839]: fatal: no SASL authentication mechanisms
Feb 25 09:57:27 localhost postfix/master[828]: warning: process /usr/libexec/postfix/smtpd pid 839 exit status 1
Feb 25 09:57:27 localhost postfix/master[828]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

sasl配置:

[root@localhost postfix]# cat /usr/lib/sasl2/smtpd.conf 
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN

经过一番搜索发现少安装了cyrus-sasl-plain

yum install cyrus-sasl-plain

原文:

http://www.electrictoolbox.com/postfix-smtp-auth-no-sasl-authentication-mechanisms/

发表评论

电子邮件地址不会被公开。

ERROR: si-captcha.php plugin: GD image support not detected in PHP!

Contact your web host and ask them to enable GD image support for PHP.

ERROR: si-captcha.php plugin: imagepng function not detected in PHP!

Contact your web host and ask them to enable imagepng for PHP.