2013-10-07 22 views
1

從我的PHP發送的郵件未送達某些客戶端,我懷疑這可能是由於SPF測試返回softfaildomain of transitioning。消息細節如下:SPF softfail將我拖到深淵

Delivered-To: [email protected] 
Received: by 10.50.73.42 with SMTP id i10csp74854igv; 
    Mon, 7 Oct 2013 03:21:52 -0700 (PDT) 
X-Received: by 10.68.44.33 with SMTP id b1mr2455965pbm.53.1381141311313; 
    Mon, 07 Oct 2013 03:21:51 -0700 (PDT) 
Return-Path: <[email protected]> 
Received: from mtarelay2.ops.gq1.yahoo.net (mtarelay2.ops.gq1.yahoo.net. [98.136.240.39]) 
    by mx.google.com with ESMTP id f6si4349525pba.278.1969.12.31.16.00.00; 
    Mon, 07 Oct 2013 03:21:51 -0700 (PDT) 
Received-SPF: softfail (google.com: domain of transitioning [email protected] does not  designate 98.136.240.39 as permitted sender) client-ip=98.136.240.39; 
Authentication-Results: mx.google.com; 
    spf=softfail (google.com: domain of transitioning [email protected] does not designate 98.136.240.39 as permitted sender) [email protected] 
Received: from p10db3.geo.gq1.yahoo.com (p10db3.geo.gq1.yahoo.com [67.195.61.18]) 
by mtarelay2.ops.gq1.yahoo.net (Postfix) with ESMTP id 764E0511EB 
for <[email protected]>; Mon, 7 Oct 2013 10:21:35 +0000 (UTC) 
Received: (from [email protected]) 
by p10db3.geo.gq1.yahoo.com (8.14.4/8.14.4/Submit) id r97ALZiJ005899; 
Mon, 7 Oct 2013 03:21:35 -0700 
Date: Mon, 7 Oct 2013 03:21:35 -0700 
Message-Id: <[email protected]> 
To: [email protected] 
Subject: Client invoice 
From: [email protected] 
MIME-Version: 1.0 

我的域名SPF設置爲:

v=spf1 a mx ~all 

回答

3

檢查哪些IP地址被允許從發件人域發送電子郵件。本網站可讓您查看所有允許的IP: http://spf.myisp.ch

如果發件人IP與任何IP或IP範圍都不匹配,則表明您可能需要編輯SPF設置。

+0

我檢查了鏈接,這就是它說:'允許如果IP匹配的abc.com 67.195.61.65 允許如果IP匹配abc.com的MX記錄的A或AAAA記錄 mx-biz.mail.am0.yahoodns.net。 98.139.171.245 軟拒絕所有不符合任何以前的規則的IP' –

+0

會將'mtarelay2.ops.gq1.yahoo.net'添加到我的域的MX記錄中是否解決了此問題? 'mtarelay2.ops.gq1.yahoo.net'似乎是來自抄本詳細信息的發件人 –

+0

我的理解是,您使用的是雅虎的網站託管服務,並且希望能夠從yahoo web服務器發送電子郵件並從你的郵件客戶端。我對麼? –

0

有一點是突出的Received: (from [email protected]),這是必然會給出錯誤。許多垃圾郵件攔截器(包括Google)不允許本地主機位於HELO字符串內。我只是有同樣的錯誤使用Postfix的Ubuntu的服務器上,而解決辦法是編輯/etc/postfix/main.cf有:

myhostname = abc.com 

,然後重新啓動postfix服務。

sudo nano /etc/postfix/main.cf 
sudo /etc/init.d/postfix restart