首页 > 解决方案 > 如何配置 dmarc 以允许从 Gmail 重定向到我的域?

问题描述

我已经阅读了这篇文章,并且在我的域上实现了这些 DNS 记录(以获取 DMARC 报告)。我很好奇是否有人在欺骗我的域(前段时间我有 SPAN/SCAMFROM并且TO是我自己的电子邮件地址,我想检查我是否会得到一些报告)。

现在我收到了来自 Google 的电子邮件postmaster@jcubic.pl,其中包含我为报告设置的电子邮件地址。

这是我得到的整个 XML:

<?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>5497363348713177576</report_id>
    <date_range>
      <begin>1636329600</begin>
      <end>1636415999</end>
    </date_range>
  </report_metadata>
  <policy_published>
    <domain>jcubic.pl</domain>
    <adkim>r</adkim>
    <aspf>r</aspf>
    <p>none</p>
    <sp>none</sp>
    <pct>100</pct>
  </policy_published>
  <record>
    <row>
      <source_ip>2a0c:5840:0:15::1</source_ip>
      <count>1</count>
      <policy_evaluated>
        <disposition>none</disposition>
        <dkim>fail</dkim>
        <spf>fail</spf>
      </policy_evaluated>
    </row>
    <identifiers>
      <header_from>jcubic.pl</header_from>
    </identifiers>
    <auth_results>
      <spf>
        <domain>attmail.pl</domain>
        <result>pass</result>
      </spf>
    </auth_results>
  </record>
  <record>
    <row>
      <source_ip>185.255.40.21</source_ip>
      <count>1</count>
      <policy_evaluated>
        <disposition>none</disposition>
        <dkim>fail</dkim>
        <spf>fail</spf>
      </policy_evaluated>
    </row>
    <identifiers>
      <header_from>jcubic.pl</header_from>
    </identifiers>
    <auth_results>
      <spf>
        <domain>attmail.pl</domain>
        <result>pass</result>
      </spf>
    </auth_results>
  </record>
</feedback>

我设置了我的主要 Google 帐户以将所有电子邮件从 Gmail 重定向到我的主要 @jcubic.pl 电子邮件,因为我不使用 Gmail。

我的记录如下所示:

_dmarc.jcubic.pl    TXT v=DMARC1;p=none;pct=100;rua=mailto:postmaster@jcubic.pl;ruf=mailto:postmaster@jcubic.pl
jcubic.pl           TXT "v=spf1 a mx include:_spf.atthost.pl -all"

如何设置允许 GMAIL 重定向?我可以指定允许将哪个 Gmail 地址转发到我的域电子邮件地址吗?

标签: dnsgmaildmarc

解决方案


推荐阅读