SMTP身份验证错误:SASL身份验证失败:密码验证失败

时间:2014-08-28 01:03:13

标签: smtp postfix-mta sasl smtp-auth cyrus

我有一台运行postfix + dovecot作为邮件服务器的VPS服务器。 我已经创建了两个运行良好的帐户。两者都可以通过STARTTLS和SSL发送和接收电子邮件。

但是当我今天添加第三个帐户时,它只能接收电子邮件但无法连接SMTP服务器。所以这不是密码错误的问题。 SMTP设置与其他两个帐户相同。客户的设置应该是正确的。

后缀日志说:

Aug 28 12:55:32 server postfix/smtpd[1645]: warning: SASL authentication failure: Password verification failed
Aug 28 12:55:32 server postfix/smtpd[1645]: warning: unknown[203.97.197.232]: SASL PLAIN authentication failed: authentication failure
Aug 28 12:55:35 server postfix/smtpd[1645]: warning: unknown[203.97.197.232]: SASL LOGIN authentication failed: authentication failure 

main.cf中的sasl和tls设置为:

smtpd_sasl_auth_enable = yes
smtpd_sasl_type = cyrus
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

任何人都可以帮助我吗?

非常感谢。

0 个答案:

没有答案