大网数据广告活动
服务器运维问答

Delivery Status Notification (Failure) => 550 SPF: x.x.x.x (IP address) is not allowed to send mail from <our-domain.com>

· 52CE 我爱测

Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the server for the recipient domain <repipients-domain.com> by <repipients-domain.com>. [192.185.87.85]. The error that the othe…

问题原文

原帖链接 · gvasquez · CC BY-SA 3.0

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain <repipients-domain.com> by <repipients-domain.com>. [192.185.87.85].

The error that the other server returned was:
550 SPF: 209.85.214.182 is not allowed to send mail from <our-domain.com>

Seems that an SMTP server is rejecting emails from our domain, possibly because we are using TXT DNS record for SPF as follows:

v=spf1 mx include:mail.zendesk.com ?all

Yesterday the record was just:

v=spf1 include:mail.zendesk.com ?all

But I added the 'mx' part to check if that corrected the issue, but it didn't.

Can anyone please assist me on correcting such issue? We've only had this problem with a single customer and, there are no other bouncing messages from other people.

What other information would be helpful?

Edit:

Record now looks like the following as improved by comments:

v=spf1 include:mail.zendesk.com include:_spf.google.com ?all

We'll try resending to the "problem" domain

已采纳解答

原帖链接 · Marco · CC BY-SA 3.0

Michael's comment is correct, you should follow Google's recommendation and ensure you have include:_spf.google.com in your SPF record - which you've now done.

You may also want to have a conversation with the mail admins of that destination domain.

Your initial SPF record was neutral (?all). According to RFC 235235, a result of neutral must be treated as if no SPF policy was found. Thus the destination domain is choosing to break SPF which just harms adoption.

Last but not least, you may want to consider using ~all (softfail) unless you're not confident you've authorized all your email servers. This will notify receivers to inspect email that is not authorized more carefully - without making a hard decision that requires them to fail non-authorized email.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-02-26)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。