是什么导致接收 phpmailer 发送的邮件延迟 4 分钟?
What's causing a 4 minute delay in receiving mail sent by phpmailer?
这是电子邮件 header:
Delivered-To: itailaitner12345@gmail.com
Received: by 2002:a25:ad43:0:0:0:0:0 with SMTP id l3csp3055642ybe;
Sun, 3 Nov 2019 07:12:29 -0800 (PST)
X-Received: by 2002:adf:f70f:: with SMTP id r15mr20367618wrp.262.1572793709683;
Sun, 03 Nov 2019 07:08:29 -0800 (PST)
X-Google-Smtp-Source: APXvYqzj7LPmrNu3admvr9X/ZE60yudyUWT3opOQ25wvHJL2osJMOUnL31sBPF/3TCSsmZoIWPH3
X-Received: by 2002:adf:f70f:: with SMTP id r15mr20367571wrp.262.1572793708960;
Sun, 03 Nov 2019 07:08:28 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1572793708; cv=none;
d=google.com; s=arc-20160816;
b=kmeiTPCferUwQu5xrl4id+RQMmLxaZ0POwV5Xd/4ukrDROfrz64+Oa5w0glrqlZfDk
3qeAuc84NVs6gTKsBUm3vO5fs4YwLMVgGlTYEVWeA7HhWuq/19C6qmoQToqqj0IxqlpM
/8ujeHLHVrf5CEYVwCh1yu5/p5SPyh0hdSV0UTh5X6G/2ztgHr6wGrTuLMW6CahUIMw/
vY+oMff9B/LSR249ZKnA6flZXJgWhNMXsheBKV6fRLsNEp4EGgoqqitha6bI+qaCUWNg
lDSiIzhsA33Q6fCoPUKefLyCqzxH5IyOl6u5UYHnuC/OkGH6+yPcOcXve7jhfbu+trkh
TSbA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
h=content-transfer-encoding:mime-version:message-id:subject:from:to
:date:dkim-signature;
bh=4NWyZSvwEZJB5UQcYKkWN6mU6LE4zXoLYl9Jdf5NB/8=;
b=Hy8a/g9uptz7ga2jfSJGpK3R3QFNGFwqPMdSYRxDk0591UMXYqTIQUFNk6kYmcSAb2
G6gjUzFf+ofmg/84Sf2B8S1/zT+qFvLK7tku10dbycjXKcF5siftBxOOgWhZp0ogmNQL
SFeEDHHllIfEp8OZhsdVOegnnVGqo0iIAdfFzFDLt4TNJxXShUpZJ2+dbLKbvTgRE3FO
t9IM/ibMt21yrzymyujvdTVIVGL4BzWLusUWA69uzYAaZS1EFwwrMDd9s6zwp2Muk1Bs
YC6bxGcZduX1yL1+DNMcRufszZRL0u21NEBLJDYm6uca3YoxjGrp4ajZwu3sS2ovb8qS
8pdA==
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@chefsbutcher.co.il header.s=default header.b=sY81zHWu;
spf=pass (google.com: domain of support@chefsbutcher.co.il designates 31.168.11.92 as permitted sender) smtp.mailfrom=support@chefsbutcher.co.il
Return-Path: <support@chefsbutcher.co.il>
Received: from cp92.box.co.il (cp92.box.co.il. [31.168.11.92])
by mx.google.com with ESMTPS id d129si13994033wmc.201.2019.11.03.07.08.28
for <itailaitner12345@gmail.com>
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Sun, 03 Nov 2019 07:08:28 -0800 (PST)
Received-SPF: pass (google.com: domain of support@chefsbutcher.co.il designates 31.168.11.92 as permitted sender) client-ip=31.168.11.92;
Authentication-Results: mx.google.com;
dkim=pass header.i=@chefsbutcher.co.il header.s=default header.b=sY81zHWu;
spf=pass (google.com: domain of support@chefsbutcher.co.il designates 31.168.11.92 as permitted sender) smtp.mailfrom=support@chefsbutcher.co.il
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chefsbutcher.co.il; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Subject:From:To:Date:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=4NWyZSvwEZJB5UQcYKkWN6mU6LE4zXoLYl9Jdf5NB/8=; b=sY81zHWue+bYdn7IQCmo5NgBdn dza3lCceOvhWRE3W4qWg4fG7AqM+yyGRkTQGAnlnqeRUpcQZDpPMuyIxHreSDxjeLQb6RxgTi4lW/ eh4ACBq4pr0/R1pNmwMH/L93F+8Qzm0OGAyJEfdW/u4dv8aoiVNNMr1/aJqbRdPYP4Cs6GSjj2BQo hgJ0xSyI0ucDnDOPaXNSB1Y4JwSuV5azCKROKMcveLCOcuv39iBdm/T6kGWeh1x6OP8NmGQGxCOhL A+Fu2kiq/XeU4hKOmrAQ82tBxp0vRhHzhJsisfckAjfZ1/3wXBoIiFsS1ul4byYhoqkkdbiXT+qNU v9v2eIWQ==;
Received: from [31.168.11.92] (port=41790 helo=chefsbutcher.co.il) by cp92.box.co.il with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from <support@chefsbutcher.co.il>) id 1iRHUR-0002NA-F3 for itailaitner12345@gmail.com; Sun, 03 Nov 2019 17:08:27 +0200
Date: Sun, 3 Nov 2019 17:08:27 +0200
To: itailaitner12345@gmail.com
From: "קצביית השף" <support@chefsbutcher.co.il>
Subject: כמעט אצלך! הזמנתך מקצביית השף בתהליך משלוח!
Message-ID: <e3b476543d89e53426eaeeb9426fa8e1@chefsbutcher.co.il>
X-Priority: 3
X-Mailer: PHPMailer 5.2.27 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="b1_e3b476543d89e53426eaeeb9426fa8e1"
Content-Transfer-Encoding: 8bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - cp92.box.co.il
X-AntiAbuse: Original Domain - gmail.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - chefsbutcher.co.il
X-Get-Message-Sender-Via: cp92.box.co.il: authenticated_id: support@chefsbutcher.co.il
X-Authenticated-Sender: cp92.box.co.il: support@chefsbutcher.co.il
X-Source:
X-Source-Args:
X-Source-Dir:
--b1_e3b476543d89e53426eaeeb9426fa8e1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
如您所见,第 3 跳有 4 分钟的延迟(另外为什么该跳的 from 列为空?)
可能是什么原因导致了这种延迟?
传递延迟只是 SMTP 工作方式的固有部分。与 HTTP 这样的协议不同,它或多或少会立即连接并发生,即使通过代理链,SMTP 发送的消息可以在其传输过程中的任何时间点延迟很长时间。在此期间,它们可能会被任何中间中继服务器写入磁盘并暂时忽略,然后拾取并稍后重试传送。这 可以 都在几秒钟内发生,而且经常发生,但您不能依赖它 - SMTP 中没有任何东西可以阻止它花费 天 .
作为发件人,您对此几乎没有控制权,只能尝试避免您确实可以控制的瓶颈,例如确保您通过连接良好且长期不发送的中继发送垃圾邮件。
像 Google 和 Yahoo 这样的大型 ISP 经常使用 SMTP 传递延迟(接收服务器说 "I'm busy right now, come back later")作为他们出于某种原因不赞成的限速发件人的手段,例如他们发送的邮件过多,使用的连接过多,或者收件人将邮件报告为垃圾邮件。
总之,调整你的预期;像这样的延迟很常见,您所看到的是完全正常的。
4 分钟的延迟是一种特定的反钓鱼隔离措施,会影响某些类型的带有按钮和链接的电子邮件。它与 SMTP 的工作方式无关。
https://www.welivesecurity.com/2017/06/01/ongoing-phishing-fight-google-delay-delivery-suspicious-messages-enterprise-gmail-customers/
这是电子邮件 header:
Delivered-To: itailaitner12345@gmail.com
Received: by 2002:a25:ad43:0:0:0:0:0 with SMTP id l3csp3055642ybe;
Sun, 3 Nov 2019 07:12:29 -0800 (PST)
X-Received: by 2002:adf:f70f:: with SMTP id r15mr20367618wrp.262.1572793709683;
Sun, 03 Nov 2019 07:08:29 -0800 (PST)
X-Google-Smtp-Source: APXvYqzj7LPmrNu3admvr9X/ZE60yudyUWT3opOQ25wvHJL2osJMOUnL31sBPF/3TCSsmZoIWPH3
X-Received: by 2002:adf:f70f:: with SMTP id r15mr20367571wrp.262.1572793708960;
Sun, 03 Nov 2019 07:08:28 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1572793708; cv=none;
d=google.com; s=arc-20160816;
b=kmeiTPCferUwQu5xrl4id+RQMmLxaZ0POwV5Xd/4ukrDROfrz64+Oa5w0glrqlZfDk
3qeAuc84NVs6gTKsBUm3vO5fs4YwLMVgGlTYEVWeA7HhWuq/19C6qmoQToqqj0IxqlpM
/8ujeHLHVrf5CEYVwCh1yu5/p5SPyh0hdSV0UTh5X6G/2ztgHr6wGrTuLMW6CahUIMw/
vY+oMff9B/LSR249ZKnA6flZXJgWhNMXsheBKV6fRLsNEp4EGgoqqitha6bI+qaCUWNg
lDSiIzhsA33Q6fCoPUKefLyCqzxH5IyOl6u5UYHnuC/OkGH6+yPcOcXve7jhfbu+trkh
TSbA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
h=content-transfer-encoding:mime-version:message-id:subject:from:to
:date:dkim-signature;
bh=4NWyZSvwEZJB5UQcYKkWN6mU6LE4zXoLYl9Jdf5NB/8=;
b=Hy8a/g9uptz7ga2jfSJGpK3R3QFNGFwqPMdSYRxDk0591UMXYqTIQUFNk6kYmcSAb2
G6gjUzFf+ofmg/84Sf2B8S1/zT+qFvLK7tku10dbycjXKcF5siftBxOOgWhZp0ogmNQL
SFeEDHHllIfEp8OZhsdVOegnnVGqo0iIAdfFzFDLt4TNJxXShUpZJ2+dbLKbvTgRE3FO
t9IM/ibMt21yrzymyujvdTVIVGL4BzWLusUWA69uzYAaZS1EFwwrMDd9s6zwp2Muk1Bs
YC6bxGcZduX1yL1+DNMcRufszZRL0u21NEBLJDYm6uca3YoxjGrp4ajZwu3sS2ovb8qS
8pdA==
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@chefsbutcher.co.il header.s=default header.b=sY81zHWu;
spf=pass (google.com: domain of support@chefsbutcher.co.il designates 31.168.11.92 as permitted sender) smtp.mailfrom=support@chefsbutcher.co.il
Return-Path: <support@chefsbutcher.co.il>
Received: from cp92.box.co.il (cp92.box.co.il. [31.168.11.92])
by mx.google.com with ESMTPS id d129si13994033wmc.201.2019.11.03.07.08.28
for <itailaitner12345@gmail.com>
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Sun, 03 Nov 2019 07:08:28 -0800 (PST)
Received-SPF: pass (google.com: domain of support@chefsbutcher.co.il designates 31.168.11.92 as permitted sender) client-ip=31.168.11.92;
Authentication-Results: mx.google.com;
dkim=pass header.i=@chefsbutcher.co.il header.s=default header.b=sY81zHWu;
spf=pass (google.com: domain of support@chefsbutcher.co.il designates 31.168.11.92 as permitted sender) smtp.mailfrom=support@chefsbutcher.co.il
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chefsbutcher.co.il; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Subject:From:To:Date:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=4NWyZSvwEZJB5UQcYKkWN6mU6LE4zXoLYl9Jdf5NB/8=; b=sY81zHWue+bYdn7IQCmo5NgBdn dza3lCceOvhWRE3W4qWg4fG7AqM+yyGRkTQGAnlnqeRUpcQZDpPMuyIxHreSDxjeLQb6RxgTi4lW/ eh4ACBq4pr0/R1pNmwMH/L93F+8Qzm0OGAyJEfdW/u4dv8aoiVNNMr1/aJqbRdPYP4Cs6GSjj2BQo hgJ0xSyI0ucDnDOPaXNSB1Y4JwSuV5azCKROKMcveLCOcuv39iBdm/T6kGWeh1x6OP8NmGQGxCOhL A+Fu2kiq/XeU4hKOmrAQ82tBxp0vRhHzhJsisfckAjfZ1/3wXBoIiFsS1ul4byYhoqkkdbiXT+qNU v9v2eIWQ==;
Received: from [31.168.11.92] (port=41790 helo=chefsbutcher.co.il) by cp92.box.co.il with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from <support@chefsbutcher.co.il>) id 1iRHUR-0002NA-F3 for itailaitner12345@gmail.com; Sun, 03 Nov 2019 17:08:27 +0200
Date: Sun, 3 Nov 2019 17:08:27 +0200
To: itailaitner12345@gmail.com
From: "קצביית השף" <support@chefsbutcher.co.il>
Subject: כמעט אצלך! הזמנתך מקצביית השף בתהליך משלוח!
Message-ID: <e3b476543d89e53426eaeeb9426fa8e1@chefsbutcher.co.il>
X-Priority: 3
X-Mailer: PHPMailer 5.2.27 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="b1_e3b476543d89e53426eaeeb9426fa8e1"
Content-Transfer-Encoding: 8bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - cp92.box.co.il
X-AntiAbuse: Original Domain - gmail.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - chefsbutcher.co.il
X-Get-Message-Sender-Via: cp92.box.co.il: authenticated_id: support@chefsbutcher.co.il
X-Authenticated-Sender: cp92.box.co.il: support@chefsbutcher.co.il
X-Source:
X-Source-Args:
X-Source-Dir:
--b1_e3b476543d89e53426eaeeb9426fa8e1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
如您所见,第 3 跳有 4 分钟的延迟(另外为什么该跳的 from 列为空?)
可能是什么原因导致了这种延迟?
传递延迟只是 SMTP 工作方式的固有部分。与 HTTP 这样的协议不同,它或多或少会立即连接并发生,即使通过代理链,SMTP 发送的消息可以在其传输过程中的任何时间点延迟很长时间。在此期间,它们可能会被任何中间中继服务器写入磁盘并暂时忽略,然后拾取并稍后重试传送。这 可以 都在几秒钟内发生,而且经常发生,但您不能依赖它 - SMTP 中没有任何东西可以阻止它花费 天 .
作为发件人,您对此几乎没有控制权,只能尝试避免您确实可以控制的瓶颈,例如确保您通过连接良好且长期不发送的中继发送垃圾邮件。
像 Google 和 Yahoo 这样的大型 ISP 经常使用 SMTP 传递延迟(接收服务器说 "I'm busy right now, come back later")作为他们出于某种原因不赞成的限速发件人的手段,例如他们发送的邮件过多,使用的连接过多,或者收件人将邮件报告为垃圾邮件。
总之,调整你的预期;像这样的延迟很常见,您所看到的是完全正常的。
4 分钟的延迟是一种特定的反钓鱼隔离措施,会影响某些类型的带有按钮和链接的电子邮件。它与 SMTP 的工作方式无关。
https://www.welivesecurity.com/2017/06/01/ongoing-phishing-fight-google-delay-delivery-suspicious-messages-enterprise-gmail-customers/