如何结合 Google Apps SPF 和 Google Apps活动监控 SPF?

发布于 2024-09-16 04:43:45 字数 224 浏览 2 评论 0原文

我正在尝试将两个 SPF 合并为一个,即 Google Apps 和 Campaign Monitor SPF。

有没有可能的方法来做到这一点?

例如,

SPF A:
v=spf1 include:_spf.google.com ~all

SPF B:
v=spf1 mx include:cmail1.com ~all

A+B 是什么?

I'm trying to combine two SPFs into one, namely a Google Apps and Campaign Monitor SPF.

Is there any possible way to do this?

E.g.

SPF A:
v=spf1 include:_spf.google.com ~all

SPF B:
v=spf1 mx include:cmail1.com ~all

What is A + B ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

宫墨修音 2024-09-23 04:43:45

让我们分解一下:

v=spf1

只说明正在使用的 SPF 版本以及这是一条 SPF 记录。

include:_spf.google.com

解析 _spf.google.com 上的 SPF 规则(即,如果源将通过 _spf.google.com,那么它将通过您的网站)

~all

如果这些规则都不匹配,则软失败(-全部将是硬失败,人们在其域上设置 Google Mail 时通常会避免这种情况)

mx

如果源 IP 作为域中的 MX 记录存在,则允许源 IP 作为相关域发送。

include:cmail1.com

另一个包括,这次是针对 cmail1.com

最终结果:

v=spf1 mx include:_spf.google.com include:cmail1.com ~all

我使用 SPF 语法页面 将所有这些放在一起。

Let's break it down:

v=spf1

Just says the version of SPF being used and that this is an SPF record.

include:_spf.google.com

Parse the SPF rules on _spf.google.com (i.e. if the source would pass against _spf.google.com, then it will pass against your site)

~all

Soft fail if none of these rules are matched (-all would be a hard fail, which people generally avoid when setting up Google Mail on their domain)

mx

Allow the source IP to send as the domain in question if the source IP is present as an MX record on the domain.

include:cmail1.com

Another include, this time against cmail1.com

Final result:

v=spf1 mx include:_spf.google.com include:cmail1.com ~all

I used the SPF syntax page to put this all together.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文