首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用Dovecot和认证的Smarthost后缀SASL

用Dovecot和认证的Smarthost后缀SASL
EN

Server Fault用户
提问于 2014-09-17 04:28:28
回答 1查看 2.2K关注 0票数 4

我有一点问题;我已经将后缀配置为对SMTP AUTH使用dovecot,因此我必须在main.cf文件中指定dovecot身份验证。问题是,我还需要验证我的最聪明的传出SMTP中继。我似乎不能同时做这两件事。我可以配置我的智能主机,也可以配置dovecot auth。

main.cf文件:

代码语言:javascript
复制
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提供了以下错误:

代码语言:javascript
复制
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用户。

我不知道该怎么办。

EN

回答 1

Server Fault用户

回答已采纳

发布于 2014-11-23 00:19:28

注: smtp != smtpd

  • smtp作为smtp客户端过去常发电子邮件
  • smtpd作为smtp服务器过去常接收电子邮件

不支持带dovecot的参数smtp_sasl_type。也许你的意思是smtpd_sasl_type = dovecot

票数 3
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/629080

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档