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

SPF softfail domain does not designate IP as permitted sender

· 52CE 我爱测

I use both mailgun and a namecheap mail server (where I also have my domain) and when I receive mails in my gmail account, mailgun is recognized as a permitted sender, but that's not the case of namecheap. That's what I get: Rece…

问题原文

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

I use both mailgun and a namecheap mail server (where I also have my domain) and when I receive mails in my gmail account, mailgun is recognized as a permitted sender, but that's not the case of namecheap. That's what I get:

Received-SPF: softfail (google.com: domain of transitioning xx@mydomain does not designate ... as permitted sender)

I have the following TXT record in my DNS

v=spf1 mx include:mailgun.org ~all

It's an IPv4 and I read some other posts in serverfault with no luck, so any thoughts on this will be appreciated.

EDIT

As stated here, Namecheap private mail sets up the MX records automatically and they are not shown on the DNS record list, I guess that has something to do with the fact that it was not recognized as a permitted sender when I had the MX record in the spf.

已采纳解答

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

I found a solution, in the end I added the mail server IP to the TXT record and now gmail accepts the sender. If anyone is interested, this is how it looks like:

v=spf1 ip4:xxx.xxx.xxx.xxx include:mailgun.org ~all

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

资料来源与适用范围

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

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

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