email - 未送达的邮件退回给发件人 Roundcube Plesk
问题描述
我有一个带有 Ples 的 VPS。我进行了域配置等。我去 webmail.mydomain.com 并登录,当我向 email@hotmail.com 发送电子邮件时,收件人会收到它。当我将它发送到 email@gmail.com 时,它会返回一个错误。
错误如下:
This is the mail system at host xxxxxxxxxxxxxxxxxxxxxxx.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<xxxxxxxxx@gmail.com>: host gmail-smtp-in.l.google.com[142.250.138.26]
said: 550-5.7.26 This message does not have authentication information or
fails to 550-5.7.26 pass authentication checks. To best protect our users
from spam, the 550-5.7.26 message has been blocked. Please visit 550-5.7.26
https://support.google.com/mail/answer/81126#authentication for more 550
5.7.26 information. a6si7013466oic.272 - gsmtp (in reply to end of DATA
command)
Reporting-MTA: dns; xxxxxxxxxxxxxxx
X-Postfix-Queue-ID: 4F52C100FA1
X-Postfix-Sender: rfc822; xxxxx@mydomain.com
Arrival-Date: Sat, 20 Mar 2021 21:44:24 +0000 (UTC)
Final-Recipient: rfc822; xxxxxxxxx@gmail.com
Original-Recipient: rfc822;xxxxxxxxx@gmail.com
Action: failed
Status: 5.7.26
Remote-MTA: dns; gmail-smtp-in.l.google.com
Diagnostic-Code: smtp; 550-5.7.26 This message does not have authentication
information or fails to 550-5.7.26 pass authentication checks. To best
protect our users from spam, the 550-5.7.26 message has been blocked.
Please visit 550-5.7.26
https://support.google.com/mail/answer/81126#authentication for more 550
5.7.26 information. a6si7013466oic.272 - gsmtp
解决方案
本质上,错误消息包含指向可能原因的链接。
https://support.google.com/mail/answer/81126#authentication
为什么会这样?
因为 Gmail 不只是接受来自任何域的电子邮件而不对其进行身份验证。
研究关键字 SPF、DMARC 和 DKIM。他们会引导你走上正确的道路。
推荐阅读
- unity3d - How to build Unity WebGl via command line specifying Scene name?
- c++ - 如何创建具有最大长度的向量?
- python - 使用 ElementTree 解析 XML:树的根作为 XML 本身返回。我如何进一步解析它以找到一个元素?
- reactjs - 如何将模板-redux 添加到现有的 React 项目?
- c# - 带有 HTTP 触发器和 blob 输出绑定的 Azure 函数失败,返回 500,没有详细信息
- sql - Oracle在when子句中触发多个条件
- python - TypeError: 需要一个类似字节的对象,而不是 'str' 使用 BytesIO
- ansible - 由 NewConnectionErrors 引起的 HTTPSConnectionPool 错误导致 Ansible 无法访问
- acumatica - BQL“IN<>”语句的问题
- windows - 使用 CMake 在 Windows 上构建 LLVM 的问题