email - SendGrid Automated Security 如何处理 SPF 记录?


这个问题似乎不是关于 a specific programming problem, a software algorithm, or software tools primarily used by programmers 的.如果您认为这个问题是关于 another Stack Exchange site 的主题,您可以发表评论,说明问题可能在哪里得到解答。

关闭 1 年前

Improve this question

我使用 SendGrid,我有 2 个专用 IP...我的网站使用 SendGrid 发送电子邮件。

同时我使用 G Suite,我个人使用 G Suite (Google Workspace) 发送电子邮件

我想设置 DKIM 和 SPF 记录。 SendGrid 文档有一个名为 Automated Security 的选项:

Automated security allows SendGrid to handle the signing of your DKIM and authentication of your SPF for your outbound email with CNAME records. This allows you to add a dedicated IP address or update your account without having to update your SPF record.

之后……

When Automated Security is On, SendGrid generates 3 different CNAME records. In a later step of setting up domain authentication, you give these records to your DNS provider, and then you verify that they upload correctly.

If you select Off, we generate 1 MX record and 2 TXT records. In a later step of setting up domain authentication, you give these records to your DNS provider, and then you verify that they upload correctly.

因此,当自动安全 开启时,我不需要添加任何 SPF 和 DKIM 记录,而是添加了自动安全所需的 3 条 CNAME 记录...

另一方面,我也在使用 G Suite,G Suite 要我添加 DKIM 和以下 SPF 记录:

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

据我所知,上面的 SPF 记录意味着 _spf.google.com 是唯一应该发送我的电子邮件的服务器...

所以我的问题是:添加 G Suite SPF 记录是否与 SendGrid Automated Security 冲突?我的 SPF 记录说不允许 My SendGrid 的专用 IP 发送电子邮件?

想象一下,雅虎邮件服务器从我的一个专用 IP (SendGrid) 收到一封电子邮件……雅虎如何知道我正在使用自动安全并且 SPF 记录由 SendGrid 处理?因为如果雅虎检查了 SPF 记录,SPF 记录告诉它只有 _spf.google.com 可以发送我的电子邮件?

相关文章:

dart - 在 Dart 中,给定可空类型 `T?` ,我如何获得不可空类型 `T`

reactjs - "Redundant alt attribute. Screen-readers

perl - 什么意思 "Can' t locate object method.."在这个使用 P

python - 在合并和排序函数中列出超出范围的索引

javascript - 尝试调试 javascript : "vscode listen eacc

javascript - 使用 filter() 而不是 map() 来修改对象数组?

python - 导入错误 : No module named 'typing' when tryi

azure - 如何删除被不属于我的域锁定的 Front Door 资源

ios - React native Pod 安装得到权限被拒绝

asp.net-core - 如何在 ASP.NET Core 3.1 中为 Swagger 指定默