【问题标题】:What's causing a 4 minute delay in receiving mail sent by phpmailer?是什么导致接收 phpmailer 发送的邮件延迟 4 分钟?
【发布时间】:2019-11-03 15:31:47
【问题描述】:

这是电子邮件标题:

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 列是空的?)

什么可能导致这种延迟?

【问题讨论】:

标签: php codeigniter email phpmailer delay


【解决方案1】:

4 分钟延迟是一种特定的反钓鱼隔离,它会影响某些类型的带有按钮和链接的电子邮件。它与 SMTP 的工作方式无关。
https://www.welivesecurity.com/2017/06/01/ongoing-phishing-fight-google-delay-delivery-suspicious-messages-enterprise-gmail-customers/

【讨论】:

    【解决方案2】:

    传送延迟只是 SMTP 工作原理的固有部分。与 HTTP 等协议(即使通过代理链)或多或少地立即连接和发生的协议不同,SMTP 发送的消息可以在其传输过程中的任何时间点被长时间保留。在此期间,它们可能会被任何中间中继服务器写入磁盘并被忽略一段时间,然后被拾取并稍后重试传递。这可以在几秒钟内发生,而且经常发生,但你不能依赖它 - SMTP 中没有任何东西可以阻止它花费 天。

    作为发件人,您对此几乎没有控制权,只能尝试避免您确实可以控制的瓶颈,例如确保您通过连接良好且长期不发送垃圾邮件的中继发送。

    Google 和 Yahoo 等大型 ISP 经常使用 SMTP 传递延迟(接收服务器说“我现在很忙,稍后再回来”)作为一种限制他们出于某种原因不批准的发件人的方式,例如他们发送太多,使用太多连接,或者接收者将邮件报告为垃圾邮件。

    简而言之,调整你的期望;像这样的延迟很常见,而您看到的是完全正常的。

    【讨论】:

    • 这是一个内容丰富且解释透彻的答案,谢谢!
    猜你喜欢
    • 1970-01-01
    • 2018-07-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-02-26
    • 2019-12-01
    • 1970-01-01
    • 2021-11-27
    相关资源
    最近更新 更多