AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 1082949
Accepted
Leo Galleguillos
Leo Galleguillos
Asked: 2021-11-09 10:35:47 +0800 CST2021-11-09 10:35:47 +0800 CST 2021-11-09 10:35:47 +0800 CST

为什么 spf 在 Google 的 DMARC 报告中失败?

  • 772

我最近收到来自 Google 的 DMARC 报告,提醒我一些 SPF 失败,邮件来自属于 Amazon SES 的 IP 地址。示例记录如下(我已将我们的域替换为 example.com。):

  <record>
    <row>
      <source_ip>54.240.27.187</source_ip>
      <count>1</count>
      <policy_evaluated>
        <disposition>none</disposition>
        <dkim>pass</dkim>
        <spf>fail</spf>
      </policy_evaluated>
    </row>
    <identifiers>
      <header_from>example.com</header_from>
    </identifiers>
    <auth_results>
      <dkim>
        <domain>example.com</domain>
        <result>pass</result>
      </dkim>
      <dkim>
        <domain>amazonses.com</domain>
        <result>pass</result>
      </dkim>
      <spf>
        <domain>mail.example.com</domain>
        <result>pass</result>
      </spf>
    </auth_results>
  </record>

SPF 是否失败,因为header_from值是example.com而 SPFdomain值是mail.example.com?

我们使用 Amazon WorkMail 和 Amazon SES 发送手动和自动电子邮件。通常From address是[email protected],我们已将MAIL FROM域设置为mail.example.com。因此,我对为什么 Google 会将header_from域报告为example.com而不是mail.example.com. example.com我们已经为和设置了适当的 SPF 记录mail.example.com。

此外,我尝试使用 Amazon WorkMail 和 Amazon SES 将测试电子邮件发送到 Gmail 地址。在这两种情况下,SPF 都通过了,DKIM 和 DMARC 也通过了。

google spf dkim amazon-web-services dmarc
  • 1 1 个回答
  • 793 Views

1 个回答

  • Voted
  1. Best Answer
    Paul
    2021-11-15T12:10:29+08:002021-11-15T12:10:29+08:00

    DMARC 将RFC5322 .From域与 SPF 认证域进行比较。在您的报告中,我们可以看到 RFC5322.From 域是example.comSPF 认证域是mail.example.com.

    该aspf标签用于指示 DMARC SPF 对齐测试应该是严格 ( s) 还是宽松 ( r),默认为宽松。

    带有aspf=r值或无aspf标签的 DMARC 记录集将验证 RFC5322.From组织域与 SPF 认证的组织域匹配。您的记录将通过这种对齐方式,因为example.com两者的组织域。

    带有aspf=s值的 DMARC 记录将验证 RFC5322.From 域和 SPF 认证域的精确 DNS 域匹配。

    DMARC 测试失败,因为aspf=s您的 DMARC 记录中配置了 RFC5322.From 域example.com和 SPF 认证域mail.example.com不同。

    • 2

相关问题

  • Google 服务器使用什么硬件?

  • 用于 Intranet 搜索的“Google Appliance”的开源替代方案?[关闭]

  • 是否可以跟踪 Google CSE?

  • 面向公司的 Google 邮件

  • 无法通过 Google 的生成器生成站点地图

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve