我有一个问题, 我已经configuration了postfix来为SMTP AUTH使用dovecot,因此我必须在main.cf文件中指定dovecot身份validation。 问题是,我还需要validation我的智能主机的传出SMTP中继。 我似乎无法立即做到这一点。 我可以configuration我的智能主机,或者我可以configurationdovecot身份validation。
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不会通过智能主机发送邮件,尽pipe它仍然会validationSMTP提交用户。
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来validationSMTP用户。
我不知道该怎么做。
注意: smtp!= smtpd
dovecot的参数smtp_sasl_type不受支持。 也许你的意思是smtpd_sasl_type = dovecot 。