Gmail

Gmail 有時無法發送到 domain1 但從不會發送到 domain2,兩個域的 MX 相同,等等

  • February 21, 2012

假設我們有 2 個域,domain1.co.zadomain2.co.za。兩者都指向具有相同優先級的相同 MX 記錄,mx1.isp.co.za 和 mx2.isp.co.za,它們都通過我們 ISP 的過濾/掃描服務發送郵件。從那裡,兩個域的郵件都使用 SMTP 傳送到我們的本地 Exchange 伺服器。換句話說,發送到兩個域的消息的路由完全相同。

  • 我們看到從 Gmail 發送到 domain1.co.za 的郵件始終無法傳遞,但僅限於部分 Gmail 使用者。對於某些 Gmail 使用者,郵件始終傳送到 domain1.co.za。
  • 另一方面,發送到 domain2.co.za 的郵件始終如一地傳遞,即使是由郵件未能發送到 domain2.co.za 的 Gmail 使用者發送的。

發送到 domain1.co.za 的郵件的退回郵件如下所示:

Delivery to the following recipient failed permanently:

    graeme@domain1.co.za

Technical details of permanent failure:=20
Google tried to deliver your message, but it was rejected by the recipient =
domain. We recommend contacting the other email provider for further inform=
ation about the cause of this error. The error that the other server return=
ed was: 571 571 Server listed in SpamCop RBL (state 14).

----- Original message -----

Received: by 10.182.75.65 with SMTP id a1mr18153847obw.32.1326873881149; We=
d,
18 Jan 2012 00:04:41 -0800 (PST)
MIME-Version: 1.0
Received: by 10.60.8.3 with HTTP; Wed, 18 Jan 2012 00:04:00 -0800 (PST)
X-Originating-IP: [41.134.138.227]
From: Graeme Donaldson <graeme@bla.bla>
Date: Wed, 18 Jan 2012 10:04:00 +0200
Message-ID: <CAOBQ9=3Dmx674mUAw1E6_gED11rWzwnFUzWBaKpWLVE_xB8-tGjg@mail.gma=
il.com>
Subject: test
To: graeme@domain1.co.za
Content-Type: text/plain; charset=3DISO-8859-1

相比之下,成功發送的電子郵件的 SMTP 標頭如下所示:

Received: from mx2.isp.co.za (196.x.y.z) by mail.domain1.co.za
(172.x.y.z) with Microsoft SMTP Server id 14.1.323.3; Wed, 18 Jan 2012
10:23:23 +0200
Received: from mail-qy0-f175.google.com (Not Verified[209.85.216.175]) by
mx2.isp.co.za with MailMarshal (v6,8,4,9558)   id <B4f16817a0000>; Wed,
18 Jan 2012 10:23:22 +0200
Received: by qcsp14 with SMTP id p14so2850129qcs.34        for
<graeme@domain1.co.za>; Wed, 18 Jan 2012 00:23:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
       d=gmail.com; s=gamma;
       h=mime-version:date:message-id:subject:from:to:content-type;
       bh=oC4vJzzjAUASBEWdam7JzvNUOB1qoyAUm0ztpK7fjwA=;
       b=I/A2jur39kdKCzu57CHzHzeJNbVqcb/e7WV8SDyulEJTKd942OrM+QYkvF8G5Xwkz4
        ssZ/p/geoqop0dgTAvoCMcdE1escL3UH3ob3k3Vgs4FqH2aKWYT7LqG3Eb53Z4Kl++K8
        D3sD0I8Eb2nZEPLR2pR0K7s8WAtnGb/XgJAws=
MIME-Version: 1.0
Received: by 10.229.76.91 with SMTP id b27mr8321239qck.124.1326875001168; Wed,
18 Jan 2012 00:23:21 -0800 (PST)
Received: by 10.229.250.66 with HTTP; Wed, 18 Jan 2012 00:23:21 -0800 (PST)
Date: Wed, 18 Jan 2012 10:23:21 +0200
Message-ID: <CANFFNku=7OMQZxXd18LtiA7x7V+uj=wiQkKKdA8F_LhwFwiLVw@mail.gmail.com>
Subject: test
From: User <user@gmail.com>
To: <graeme@domain1.co.za>
Content-Type: multipart/alternative; boundary="001d605b95931b230b04b6c92924"
Return-Path: user@gmail.com
X-MS-Exchange-Organization-AuthSource: exch.ad.local
X-MS-Exchange-Organization-AuthAs: Anonymous

比較 SMTP 標頭,我注意到有 3 個“Received:”標頭似乎完全在 Google 的網路中,第 4 個“Received:”標頭是它第一次突破 Google 的網路。查看退回郵件,它只有 2 個“已接收:”標頭,這讓我認為此故障在 Google 的網路內。

眾所周知,Google無法聯繫到這樣的東西,所以我希望其他人也看到過類似的東西。有沒有人有類似的問題?

這是相關的錯誤消息:

The error that the other server return=
ed was: 571 571 Server listed in SpamCop RBL (state 14).

Google的一台出站伺服器被 SpamCop 列入黑名單。當人們向網路釣魚攻擊提供密碼時,這種情況時有發生。然後攻擊者使用Google賬戶,經過幾次報告後,Google的一台伺服器被列入黑名單。

如果 MX 伺服器在您的控制之下,您可以考慮不在這些伺服器上使用 spamcop 列表。

如果一定數量的使用者將伺服器(IP)報告為垃圾郵件伺服器,SpamCop 將自動將伺服器列入黑名單。一旦報告停止,伺服器會自動從黑名單中刪除。

Google 顯然擁有不止一台 SMTP 伺服器,每台伺服器都有自己的 DNS 記憶體。有可能是一台伺服器記憶體了黑名單結果。

引用自:https://serverfault.com/questions/350959