Postfix SMTP SASL认证失败
Postfix需要配置传递给一些目标domain的邮件使用SASL认证传送,配置的方法以前的文章讲过,但今天在CentOS下配置完成启动服务后,发送需要SASL认证的邮件时,无法发送成功。查看日志,有如下错误:
warning: SASL authentication failure: No worthy mechs found
…
(SASL authentication failed; cannot authenticate to server xxx.xxx.xxx[xxx.xxx.xxx.xxx]: no mechanism available)
CentOS是使用cyrus-sasl包支持的,yum查看了一下cyrus-sasl的安装情况:
#yum list cyrus-sasl*
发现cyrus-sasl虽然是已经安装了,但Cryus SASL的一些plugins却没有安装。yum安装这些plugin重启postfix服务后,SASL认证的邮件发送即正常。
cyrus-sasl-plain : The cyrus-sasl-plain package contains the Cyrus SASL plugins which support PLAIN and LOGIN authentication schemes.
cyrus-sasl-md5 : The cyrus-sasl-md5 package contains the Cyrus SASL plugins which support CRAM-MD5 and DIGEST-MD5 authentication schemes.
cyrus-sasl-gssapi : he cyrus-sasl-gssapi package contains the Cyrus SASL plugins which support GSSAPI authentication. GSSAPI is commonly used for Kerberos authentication.
相关文章:
