在第一次设置 Mailgun 来发送电邮的时候,有可能会在收件箱中发现来自 Mailgun 的邮件带有类似于 "via mailgun.org","via mailgun.us",或者 "via mailgun.info" 的警告。
这些警告意味着您还没有授权 Mailgun 来发送邮件,因此邮箱服务提供商认为这些邮件来自于 Mailgun,而不是您的组织。
要授权 Mailgun 来发送邮件,需要为 Mailgun 设置 SPF 和 DKIM。这个过程也叫电子邮件域名验证。
为 Mailgun 设置 SPF 和 DKIM 有 2 个好处:
邮件更容易抵达收件箱; 去除 "…This post provides step-by-step instructions on how to add an SPF record in Bluehost.
About SPF recordsAn SPF record is a TXT record published in the DNS on your domain, starting with v=spf1. It's used to perform SPF checks on the receiving email server…
This post provides step-by-step instructions on how to add an SPF record in CloudFlare.
About SPF recordsAn SPF record is a TXT record published in the DNS on your domain, starting with v=spf1. It's used to perform SPF checks on the receiving email server…
This post provides step-by-step instructions on how to add an SPF record in GoDaddy.
About SPF recordsAn SPF record is a TXT record published in the DNS on your domain, starting with v=spf1. It's used to perform SPF checks on the receiving email server…
This post provides step-by-step instructions on how to add an SPF record in Namecheap.
About SPF recordsAn SPF record is a TXT record published in the DNS on your domain, starting with v=spf1. It's used to perform SPF checks on the receiving email server…
当排查邮件送达问题时,您可能会在接收邮件服务器上看到类似下面的 SPF 错误:
SPF PermError: too many DNS lookups
SPF Permanent Error: too many DNS lookups
SPF Fail: too many DNS lookups
这些信息表明您域名上的 SPF 记录包含多于 10 次 DNS 查询,这使得该 SPF 记录违反了 SPF 规范的 SPF 10 次查询极限。
当该错误发生时,SPF 返回一个 PermError(永久性错误),该错误会使 SPF 验证无法通过。如果最终的邮件验证结果失败,…