eza*_*zak 9 gmail sendmail spf dkim dmarc
我在使用 google 时遇到问题,无法将电子邮件发送到任何 gmail 或 Gsuite 电子邮件,但从邮件服务器日志中获取了报告
Feb 17 12:16:30 server postfix/smtp[19451]: 853E35E55A: to=<xxx@gmail.com>,
relay=aspmx.l.google.com[209.85.144.27]:25, delay=0.38, delays=0.05/0/0.15/0.17,
dsn=5.7.26, status=bounced (host aspmx.l.google.com[209.85.144.27] 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. w19si7586061qkp.34 - gsmtp (in reply to end of DATA command))
Run Code Online (Sandbox Code Playgroud)
而且我没有被列入任何垃圾邮件网站的黑名单(我确实检查了大多数提供阻止列表检查器的网站)
我的 SPF、DKIM 或 DMARC 也没有任何问题
这是 SPF 检查器 https://prnt.sc/26xomwz
这是 DKIM 检查器 https://prnt.sc/26xoodg
这是 DMARC 检查器 https://prnt.sc/26xopgo
这是来自 google 的 DMARC 报告
<?xml version="1.0" encoding="UTF-8" ?>
<feedback>
<report_metadata>
<org_name>google.com</org_name>
<email>noreply-dmarc-support@google.com</email>
<extra_contact_info>https://support.google.com/a/answer/2466580</extra_contact_info>
<report_id>10254909114662490508</report_id>
<date_range>
<begin>1644969600</begin>
<end>1645055999</end>
</date_range>
</report_metadata>
<policy_published>
<domain>cbs-canon.com</domain>
<adkim>r</adkim>
<aspf>r</aspf>
<p>quarantine</p>
<sp>quarantine</sp>
<pct>100</pct>
</policy_published>
<record>
<row>
<source_ip>5.161.45.186</source_ip>
<count>187</count>
<policy_evaluated>
<disposition>quarantine</disposition>
<dkim>fail</dkim>
<spf>fail</spf>
</policy_evaluated>
</row>
<identifiers>
<header_from>server.cbs-canon.com</header_from>
</identifiers>
<auth_results>
<dkim>
<domain>server.cbs-canon.com</domain>
<result>fail</result>
<selector>default</selector>
</dkim>
<spf>
<domain>server.cbs-canon.com</domain>
<result>none</result>
</spf>
</auth_results>
</record>
<record>
<row>
<source_ip>5.161.45.186</source_ip>
<count>1</count>
<policy_evaluated>
<disposition>none</disposition>
<dkim>pass</dkim>
<spf>pass</spf>
</policy_evaluated>
</row>
<identifiers>
<header_from>cbs-canon.com</header_from>
</identifiers>
<auth_results>
<dkim>
<domain>cbs-canon.com</domain>
<result>pass</result>
<selector>default</selector>
</dkim>
<spf>
<domain>cbs-canon.com</domain>
<result>pass</result>
</spf>
</auth_results>
</record>
</feedback>
Run Code Online (Sandbox Code Playgroud)
我怎么知道问题出在哪里
这很奇怪。发送源 IP 肯定在您的 SPF 中,并且 DMARC 记录包含aspf=r,因此子域中地址的标头有效且匹配。我还注意到您的 DMARC 有p=quarantine,但 gmail 的表现就像是reject。不过这是 Gmail,所以你不能指望它表现良好。
我预计问题是您没有 SPF 记录集server.cbs-canon.com,因此请确保该记录存在并允许与 相同的来源cbs-canon.com。您似乎也没有进行 DKIM 签名,这意味着 SPF 和 DKIM 均失败,从而导致 DMARC 失败。尝试添加该 DNS 记录,或重定向/包含server.到您的根域。
| 归档时间: |
|
| 查看次数: |
33879 次 |
| 最近记录: |