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

后缀SASL SMTP
EN

Server Fault用户
提问于 2011-04-02 00:50:34
回答 1查看 1.6K关注 0票数 0

我是一个问题,当试图发送电子邮件在465个安全的SMTP与一个后缀+信使与MySQL虚拟用户。我能够连接到IMAP安全和下载,我也可以发送邮件端口25不安全。我正在尝试使用SASL的外出。当我尝试使用telnet端口465时,它被拒绝了。当我试图发送一条消息时,我在/var/log/mail.log中得到了这个消息。

代码语言:javascript
复制
Apr 2 00:24:34 Lucid postfix/smtpd[3714]: connect from pool-74-111-178-60.pitbpa.fios.verizon.net[74.111.178.60]
Apr 2 00:24:34 Lucid postfix/smtpd[3714]: warning: SASL authentication problem: unknown password verifier
Apr 2 00:24:34 Lucid postfix/smtpd[3714]: warning: SASL authentication failure: Password verification failed
Apr 2 00:24:34 Lucid postfix/smtpd[3714]: warning: pool-74-111-178-60.pitbpa.fios.verizon.net[74.111.178.60]: SASL PLAIN authentication failed: no mechanism available
Apr 2 00:24:34 Lucid postfix/smtpd[3714]: warning: SASL authentication problem: unknown password verifier
Apr 2 00:24:34 Lucid postfix/smtpd[3714]: warning: pool-74-111-178-60.pitbpa.fios.verizon.net[74.111.178.60]: SASL LOGIN authentication failed: no mechanism available
Apr 2 00:24:35 Lucid postfix/smtpd[3714]: disconnect from pool-74-111-178-60.pitbpa.fios.verizon.net[74.111.178.60]

/etc/postfix/sasl/smtpd.conf - http://74.111.178.60/random/smtpd.conf

/etc/postfix/main.cf - http://74.111.178.60/random/main.cf
EN

回答 1

Server Fault用户

发布于 2011-04-02 06:02:21

首先检查random/smtpd.conf文件中的机制。在我的操作系统上是/etc/default/saslauthd

我使用PAM身份验证,首先使用来自/etc/passwd的登录来测试它,因为它似乎被设置为PAM。另外,为了保持简单,您可以尝试通过端口25使用SASL,这也很不错。

如果这个目录不存在,就创建它:用于假脱机的/var/spool/postfix/var/run/saslauthd/

我的/etc/default/saslauthd看起来像这样。希望您的错误就像将MECHANISMS="pam"更改为mysql或类似的那样简单:

代码语言:javascript
复制
START=yes
DESC="SASL Authentication Daemon"
NAME="saslauthd"
MECHANISMS="pam"
MECH_OPTIONS=""
THREADS=5
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd -r"
票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/254827

复制
相关文章

相似问题

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