Zed*_*aid 7 debian postfix authentication sasl
尝试使用带有 smtp 的 postfix 连接到 google 的 smtp。尝试发送邮件时,出现此错误:
Sep 15 14:04:41 zedsaid postfix/smtp[20271]: certificate verification failed for smtp.gmail.com[74.125.95.109]:587: untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
Sep 15 14:04:42 zedsaid postfix/smtp[20271]: warning: SASL authentication failure: No worthy mechs found
Sep 15 14:04:42 zedsaid postfix/smtp[20271]: 1BACD968B23: to=<nic@zedsaid.com>, relay=smtp.gmail.com[74.125.95.109]:587, delay=0.92, delays=0.06/0.03/0.83/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.gmail.com[74.125.95.109]: no mechanism available)
Run Code Online (Sandbox Code Playgroud)
运行 Debian 4.0。
想法?
小智 9
我有错误:SASL authentication failure: No worthy mechs found
在 RaspberryPi3 中运行 postfix(Debian 10 - Raspbian)
我修复安装包libsasl2-modules
sudo apt update
sudo apt install libsasl2-modules
Run Code Online (Sandbox Code Playgroud)
希望它可以帮助别人。
小智 5
(新用户,无法对 sebix 发表评论回复。也删除了所有链接。)
对于使用 Postfix 作为具有 SASL-auth 到远程服务器的 SMTP 客户端的现代安装(例如 Ubuntu 16.04)(例如Debian wiki上所示),可能确实需要指定
smtp_sasl_security_options = noanonymous
Run Code Online (Sandbox Code Playgroud)
然而,这样做是删除该noplaintext
选项(当前默认值是noplaintext, noanonymous
根据 postconf 手册)。smtp_sasl_tls_security_options
默认为$smtp_sasl_security_options
. 这可能会在某些(错误)配置下成为问题,或者在未来如果默认值发生变化。
编辑:不过,目前似乎不太可能,特别是如果 SASL 是在 TLS 会话中完成的。如果远程服务器具有smtpd_tls_auth_only
或smtpd_enforce_tls
(暗示前者)或任何非 Postfix 等效项,则强制执行此操作。
要检查 Postfix 默认使用的内容,请使用postconf -d
( via )。
小智 2
看起来线索就在这里:
untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
Run Code Online (Sandbox Code Playgroud)
您需要获取 Equifax 证书并将其添加到您的受信任 CA 证书列表中。
我认为这些可以在这里找到:http://www.geotrust.com/resources/root-certificates/
归档时间: |
|
查看次数: |
8932 次 |
最近记录: |