我有一点问题;我已经将后缀配置为对SMTP AUTH使用dovecot,因此我必须在main.cf文件中指定dovecot身份验证。问题是,我还需要验证我的最聪明的传出SMTP中继。我似乎不能同时做这两件事。我可以配置我的智能主机,也可以配置dovecot auth。
main.cf文件:
relayhost = relay.jangosmtp.net:2525
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/relay_passwd
smtp_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_authenticated_header = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =
permit_mynetworks
permit_sasl_authenticated
reject_unauth_destination
smtpd_tls_key_file = /etc/postfix/certs/key.pem
smtpd_tls_cert_file = /etc/postfix/certs/cert.pem我试图将两者结合在一起,但postfix不会通过智能版发送邮件,尽管它仍然会对SMTP提交用户进行身份验证。
maillog提供了以下错误:
Sep 16 23:59:00 hg-gv postfix/smtp[16631]: warning: unsupported SASL client implementation: dovecot
Sep 16 23:59:00 hg-gv postfix/smtp[16631]: fatal: SASL library initialization这是合理的,但我需要启用dovecot来验证SMTP用户。
我不知道该怎么办。
发布于 2014-11-23 00:19:28
注: smtp != smtpd
不支持带dovecot的参数smtp_sasl_type。也许你的意思是smtpd_sasl_type = dovecot。
https://serverfault.com/questions/629080
复制相似问题