我是一个问题,当试图发送电子邮件在465个安全的SMTP与一个后缀+信使与MySQL虚拟用户。我能够连接到IMAP安全和下载,我也可以发送邮件端口25不安全。我正在尝试使用SASL的外出。当我尝试使用telnet端口465时,它被拒绝了。当我试图发送一条消息时,我在/var/log/mail.log中得到了这个消息。
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发布于 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或类似的那样简单:
START=yes
DESC="SASL Authentication Daemon"
NAME="saslauthd"
MECHANISMS="pam"
MECH_OPTIONS=""
THREADS=5
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd -r"https://serverfault.com/questions/254827
复制相似问题