分类:
2011-11-19 20:47:37
原文地址:为服务器添加SPF记录 作者:xaliyan
发现发出去的邮件很多都到了垃圾邮件里。先检查了一下是否在黑名单中。
这个工具可以一次检查而不用到各个黑名单网站上去查。
幸运很,一路绿灯。
检查了下邮件头,发现SPF:none,SPF (Sender Policy Framework) 在RFC 4408 中有详细描述
spf的官网貌似有些问题.,一直打不开,好像是主机托管那边出了些问题,现在临时用
另外如果对语法不熟也可以到微软的一个页面上去生成spf配置。
From Wed Nov 16 22:27:08 2011
X-Apparently-To: via 98.138.85.200; Wed, 16 Nov 2011 22:28:42 -0800
Return-Path:
X-YahooFilteredBulk: 223.x.xx.xxx
Received-SPF: none (domain of xxxxxx.com does not designate permitted sender hosts)
X-YMailISG: bKlf4VIWLDtgU.YkbhelKbzCzt07lA9oFUQOAGbCNCUoOnOe
…. iGFknSBT4YgXeEXRYczlJE_BZ48WrKsaRn7.74nvm5zRuP6ec_QQM8Mz4CUU
PzYXUEP.lN7ha5JRNwmtQ1jRdeYV
X-Originating-IP: [223.x.xx.xxx]
Authentication-Results: mta1130.mail.sk1.yahoo.com from=xxxxx.com; domainkeys=neutral (no sig); from=xxxxxx.com; dkim=neutral (no sig)
Received: from 127.0.0.1 (EHLO xxxx.xxxxx.com) (223.x.xx.xxx)
by mta1130.mail.sk1.yahoo.com with SMTP; Wed, 16 Nov 2011 22:28:42 -0800
Received: from dhk (localhost [127.0.0.1])
by xxx.xxxxx.com (8.13.8/8.13.8) with SMTP id pAH6R8dp029010;
Thu, 17 Nov 2011 14:27:32 +0800
Date: Thu, 17 Nov 2011 14:27:08 +0800
From:
Message-Id: <201111170627.pAH6R8dp029010@xxxxx.xxxx.com>
Content-Length: 10
加上之后,
# host -t txt xxxx.com 8.8.8.8
Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#53
Aliases:
xxxxxx.com descriptive text "v=spf1 a mx ip4:223.xx.xx.xx/29 -all"
再发邮件,大部分原先拒收或者在垃圾邮件folder下的问题都可以解决。
不过貌似yahoo.com有自己的黑名单,还是被放在了spam下。
From cli@huodongkong.com Wed Nov 16 23:14:19 2011
X-Apparently-To: xxxxx@yahoo.com via 98.138.85.203; Wed, 16 Nov 2011 23:15:21 -0800
Return-Path:
X-YahooFilteredBulk: 223.xx.xx.xxx
Received-SPF: pass (domain of xxxxx.com designates 223.xxx.xxx.xxx as permitted sender)