2

我将 postfix 配置为通过具有 SMTP 身份验证和 TLS 的 Microsoft Exchange 服务器发送邮件。在电子邮件日志中,我看到此错误:

postfix / smtp [ 11191 ] : warning: SASL authentication failure: No worthy mechs found
postfix / smtp [ 11191 ] : B5BEB22019E : <my@mydomain.it> to = , relay = my.relay.host , delay = 0:07 , delays = 0.04/0.02/0.01/0 , dsn
= 4.7.0 , status = deferred ( SASL authentication failed , can not authenticate to server my.relay.host no mechanism available )

postfix 配置是默认配置,我添加了以下几行:

relayhost = my.relay.host
smtp_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash :/ etc / postfix / sasl_passwd
smtpd_use_tls = yes

安装库 cyrus -sasl 和 cyrus -sasl -devel cyrus- sasl- ntlm,如果我对服务器进行 telnet 微软获取:

220 my.relay.host Microsoft ESMTP MAIL Service ready at Wed, November 27 2013 10:20:40 +0100
ehlo
250 - MY.RELAY.HOST Hello [ XXX.XXX.XXX.XXX ]
250 -SIZE 10485760
250-PIPELINING
250 - DSN
250 - ENHANCEDSTATUSCODES
250 -AUTH LOGIN
250 - 8BITMIME
250-BINARYMIME
250 CHUNKING

中继服务器的管理员告诉我身份验证是 NTLM ,有什么想法吗?

谢谢斯特凡诺

4

0 回答 0