首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >后缀SASL错误

后缀SASL错误
EN

Server Fault用户
提问于 2011-04-08 19:53:58
回答 1查看 1.6K关注 0票数 0

我正在尝试配置postfix服务器,以便使用dovecot的SASL身份验证来接受来自外部邮件客户端的连接。它以前是用赛勒斯·萨塞尔建立的。

然而,当我试图使用Mozilla Thunderbird从另一台服务器发送邮件时,我会在邮件日志文件中得到类似的行:

代码语言:javascript
复制
warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
warning: SASL authentication failure: no secret in database
warning: SASL CRAM-MD5 authentication failed: authentication failure

以下是我的main.cf配置文件中的行:

代码语言:javascript
复制
smtpd_helo_restrictions =
    reject_invalid_hostname
smtpd_sender_restrictions = reject_unknown_sender_domain


smtpd_recipient_restrictions =
    permit_sasl_authenticated,
    permit_mynetworks,
    reject_unknown_recipient_domain,
    reject_unauth_destination
    reject_non_fqdn_sender
    check_client_access hash:/etc/postfix/pop-before-smtp,
    reject_non_fqdn_recipient,
    reject_rbl_client zen.spamhaus.org,
    reject_rbl_client psbl.surriel.com

  smtpd_sasl_path = dovecot
  smtpd_sasl_path = private/auth
  smtpd_sasl_auth_enable = yes
  smtpd_sasl_security_options = noplaintext noanonymous
  broken_sasl_auth_clients = yes

我还检查了配置文件/usr/lib/sasl/smtpd.conf和/etc/postfix/sasl/smtpd.conf,我有:

代码语言:javascript
复制
pwcheck_method:saslauthd
mech_list: plain login

我不知道为什么后缀总是给我sasldb2和CRM-MD5认证错误。非常感激的帮助。

EN

回答 1

Server Fault用户

发布于 2011-04-10 08:56:40

saslauthd只能处理普通的和登录的身份验证方法,但是您已经用smtpd_sasl_security_options禁用了明文。此外,您还输入了配置- smtpd_sasl_path语句是重复的,似乎第一个应该被输入为smtpd_sasl_type。

有关其他详细信息,请查看http://www.postfix.org/SASL_README.html

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

https://serverfault.com/questions/257512

复制
相关文章

相似问题

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