后缀:SASL身份验证失败:找不到值得的机会

时间:2013-11-27 09:46:57

标签: postfix-mta smtp-auth

我将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 )

后缀配置是默认配置,我添加了这些行:

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到服务器microsoft get:

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,有什么想法吗?

谢谢Stefano

0 个答案:

没有答案