为什么我更改 MX 记录后邮件会发送到旧邮件服务器?

为什么我更改 MX 记录后邮件会发送到旧邮件服务器?

我遇到了一个奇怪的问题。我必须将邮件从一台服务器转移到另一台服务器。我用 QMail 和 Plesk 设置了一个服务器,一切正常。我创建了与旧服务器上的帐户类似的邮件帐户。我将所有邮件和联系人从旧服务器导出到新服务器。我更改了 DNS MX 记录以指向新服务器。

由于某些未知原因,一些邮件仍然发往旧服务器,而一些发往新服务器。我等了大约四天才发布此帖,问题仍然存在。周六我也更改了 A 记录,但这并没有解决邮件问题。网站本身运行良好。

以下是旧服务器收到的消息的完整标头:

Return-Path: <[email protected]>
Delivered-To: addr of email
Received: from smtp54.gate.dfw1a (smtp54.gate.dfw1a.rsapps.net [172.20.100.54]) by store28a.mail.dfw1a (SMTP Server) with ESMTP id AE7851800C3 for <addr of email>; Mon, 28 Jul 2014 03:18:03 -0400 (EDT)
X-Virus-Scanned: OK
X-MessageSniffer-Scan-Result: 0
X-MessageSniffer-Rules: 0-0-0-32767-c
X-CMAE-Scan-Result: 0
X-CNFS-Analysis: v=2.1 cv=De0u9JdW c=1 sm=0 tr=0 a=aV+O4xzSBt0o+0xwPG4XAQ==:117 a=YHITJaTJE1uX1sExSpua6g==:17 a=kPqwDtNfjqQA:10 a=nzGiYrXWIbwA:10 a=IkcTkHD0fZMA:10 a=21-350hwAAAA:8 a=EAyIgLxwAAAA:8 a=KGjhK52YXX0A:10 a=SSmOFEACAAAA:8 a=g49rjhyEAAAA:8 a=4F_gcz9cAAAA:8 a=zbF6CNjXAAAA:8 a=tCyDjBcLanOAYrL7iOwA:9 a=XAZpLiLyquuSxLXB:21 a=QEXdDO2ut3YA:10 a=_W_S_7VecoQA:10 a=frz4AuCg-hUA:10 a=tXsnliwV7b4A:10 a=p403mkujtbAA:10
Received: from [173.203.2.22] ([173.203.2.22:34803] helo=smtp50.gate.ord1a) by smtp54.gate.dfw1a.rsapps.net (envelope-from <[email protected]>) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTPS (cipher=AES256-SHA) id 38/97-15214-B29F5D35; Mon, 28 Jul 2014 03:18:03 -0400
X-Virus-Scanned: OK
X-Spam-Threshold: 95
X-Spam-Score: 0
X-Spam-Flag: NO
X-Virus-Scanned: OK
X-MessageSniffer-Scan-Result: 0
X-MessageSniffer-Rules: 0-0-0-32767-c
X-CMAE-Scan-Result: 0
X-CNFS-Analysis: v=2.1 cv=CaAxutbl c=1 sm=0 tr=0 b=1 a=YHITJaTJE1uX1sExSpua6g==:117 a=YHITJaTJE1uX1sExSpua6g==:17 a=kPqwDtNfjqQA:10 a=IkcTkHD0fZMA:10 a=EAyIgLxwAAAA:8 a=SSmOFEACAAAA:8 a=g49rjhyEAAAA:8 a=4F_gcz9cAAAA:8 a=zbF6CNjXAAAA:8 a=tCyDjBcLanOAYrL7iOwA:9 a=Yqh-dnuOVIS8Y9aZ:21 a=QEXdDO2ut3YA:10 a=_W_S_7VecoQA:10 a=frz4AuCg-hUA:10 a=tXsnliwV7b4A:10 a=p403mkujtbAA:10
X-Orig-To: addr of email
X-Originating-Ip: [199.7.206.83]
Received: from [199.7.206.83] ([199.7.206.83:37806] helo=omp.watch.stv.tv) by smtp50.gate.ord1a.rsapps.net (envelope-from <[email protected]>) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTP id 8E/D5-07869-A29F5D35; Mon, 28 Jul 2014 03:18:02 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=stv; d=watch.stv.tv; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:To:From:Reply-To:Subject:List-Unsubscribe:Message-ID; [email protected]; bh=mxqrrGTiasxtjXc9p4MuF7H9E6k=; b=KI6T+Ly8U+/UemVHnzRvwTVkcRjAPw8w8cMhRuszpwnUs/jc81uT1TN6bMdlX0L9+dJHQrhyQBIk EpGoFi+nCKG/wq2cRCJ7ysyvL5o2UPY4NLoN/Y7kC8al5C7FrqK5KJypVwiJ4pb8EijkZQJdwMcS gBu6FWUQtKQkVPu73+4=
DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=stv; d=watch.stv.tv; b=LkN79EBZBlw7afoQitGZyQhGfT3p5yAqMX5Z/01WfBA9QUBLyKGAJhHLe6tuDtxHMn+rwmeIqMbA ZYrqe09+WFTSGNXMWvtK3nad8bn/G/a78FqDdKLr4gl6lWrVXXZFudNZgc2H9MMcrGo8vzCdh9xw ory1zjVuHdoXsgg0wBs=;
Received: by omp.watch.stv.tv id hqnsik1607gm for <addr of email>; Mon, 28 Jul 2014 00:17:55 -0700 (envelope-from <[email protected]>)
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 28 Jul 2014 00:17:55 -0700
To: addr of email
From: "STV" <[email protected]>
Reply-To: "STV" <[email protected]>
Subject: Murder enquiry launched, Scotland's youngest ever Games medallist and could you spot a lie?!
List-Unsubscribe: <https://watch.stv.tv/pub/optout/UnsubscribeOneStepConfirmAction?YES=true&_ri_=X0Gzc2X%3DWQpglLjHJlYQGoU2TNepP6Hzc7zaIzfNzeLmzdLzatpzeUEaPivC2k&_ei_=EolaGGF4SNMvxFF7KucKuWPFoKkKtpKpImTodsIb_k1PEsdOhTq-gg>, <mailto:unsubscribe-WQpglLjHJlYQGoU2TNepP6Hzc7zaIzfNzeLmzdLzatpzeUEaPivC2k@imh.rsys5.com?subject=List-Unsubscribe>
X-sgxh1: iHmtxJoHItHpkqnjhmiQJhu
X-rext: 4.interact5.Eh3T2vLiyAaXBQbxvVeuZeQliV3GHypN8Ts
X-cid: stvcentral.254285
Message-ID: <[email protected]>

以下是新服务器收到的消息的完整头:

X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on myhosting.pl
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1
received: (qmail 759 invoked from network); 25 Jul 2014 08:44:46 +0100
received: from smtp2a.hushmail.com (HELO smtp2.hushmail.com) (65.39.178.237) by ip-10-84-13-195.eu-west-1.compute.internal with (DHE-RSA-AES256-GCM-SHA384 encrypted) SMTP; 25 Jul 2014 08:44:46 +0100
received: from smtp2.hushmail.com (smtp2a.hushmail.com [65.39.178.237])by smtp2.hushmail.com (Postfix) with SMTP id 5F06EA00F4for <addr mail on my new server>; Fri, 25 Jul 2014 07:44:43 +0000 (UTC)
received: from smtp.hushmail.com (w8.hushmail.com [65.39.178.52])by smtp2.hushmail.com (Postfix) with ESMTPfor <addr mail on my new server>; Fri, 25 Jul 2014 07:44:41 +0000 (UTC)
received: by smtp.hushmail.com (Postfix, from userid 99)id 4118860937; Fri, 25 Jul 2014 07:44:41 +0000 (UTC)
Mime-Version: 1.0
Date: Fri, 25 Jul 2014 09:44:41 +0200
To: mail on my new server
Subject: Re: sadsdsa
From: [email protected]
In-Reply-To: <9064866e6f8776c562917b1629608d1a@my-domain>
Content-Type: multipart/alternative;boundary="=_02be226817c36e7068ee7874b3a62770"
Message-Id: <[email protected]>

答案1

有两种情况,在我看来,这要么是 DNS 缓存问题,要么是 DNS 中毒问题

我猜想旧的 DNS 服务器有很长的超时时间(比如一周)和/或充当权威服务器,并向任何询问它的人提供旧记录。如果它碰巧是一家大型 ISP,没有运行单独的缓存和权威服务器,那么旧的 DNS 服务器将继续错误地回答,直到该区域被删除。(我曾在新西兰最大的 ISP 之一上看到过这个问题,所以这并不罕见)。

相关内容