Postfix 電子郵件被 Gmail 偵測為垃圾郵件

Postfix 電子郵件被 Gmail 偵測為垃圾郵件

我知道有一些關於此問題的帖子,我已經閱讀它們有一段時間了,但我仍然無法解決我的問題。

我正在使用 postfix 運行 ISPconfig,但我不明白為什麼我的外發電子郵件在 gmail 和 Outlook.com 中被標記為垃圾郵件。

  • 反向DNS沒問題
  • 我設定了 SPF DKIM 和 DMARC(當我查看 gmail 電子郵件的標頭時,它顯示通過,outlook 也是如此)
  • 我沒有被列入黑名單
  • Mxtoolbox 檢查正常(它僅傳回與 SOA 過期值和同一網路上的名稱伺服器相關的警告)
  • HELO 正在傳回正確的名稱
  • 我嘗試了電子郵件/純文字等中的不同內容...
  • 我更改了標題以顯示正確的主機名稱而不是本地主機
  • 我嘗試使用不同的IP
  • 我沒有使用伺服器發送大量電子郵件。

這是我發送郵件到時的結果[電子郵件受保護]

==========================================================
Summary of Results
==========================================================
SPF check:          pass
DomainKeys check:   neutral
DKIM check:         pass
Sender-ID check:    pass
SpamAssassin check: ham

以下是發送至 gmail 的電子郵件的內容:

Delivered-To: [email protected]
Received: by 10.37.115.87 with SMTP id o84csp2701146ybc;
        Wed, 14 Oct 2015 02:24:12 -0700 (PDT)
X-Received: by 10.180.23.231 with SMTP id p7mr27203112wif.30.1444814652908;
        Wed, 14 Oct 2015 02:24:12 -0700 (PDT)
Return-Path: <[email protected]>
Received: from xxx.xxx.fr (xxx.xxx.fr. [xxx.xxx.xxx.xxx])
        by mx.google.com with ESMTPS id ao6si9344594wjc.158.2015.10.14.02.24.12
        for <[email protected]>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 14 Oct 2015 02:24:12 -0700 (PDT)
Received-SPF: pass (google.com: domain of [email protected] designates xxx.xxx.xxx.xxx as permitted sender) client-ip=xxx.xxx.xxx.xxx;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of [email protected] designates xxx.xxx.xxx.xxx as permitted sender) [email protected];
       dkim=pass [email protected];
       dmarc=pass (p=QUARANTINE dis=NONE) header.from=xxx.fr
Received: from mail.xxx.fr (mail.xxx.fr [127.0.0.1])
    by mail.xxx.fr (Postfix) with ESMTP id 761538392E
    for <[email protected]>; Wed, 14 Oct 2015 11:24:12 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xxx.fr; h=
    user-agent:message-id:from:from:date:date
    :content-transfer-encoding:content-type:content-type
    :mime-version:subject:subject; s=default; t=1444814652; x=
    1446629053; bh=ZRVRT3UM6A3vr5Bjs0V90xDPq6+kbcb9HUlVjWHZ8Vc=; b=Y
    pcDBU5OXZZsskSavKUNkbU8+TApXPx98+fJCXc4/5UkEXuLa7fNT/8HWidm0m8y2
    chyd8e03x3u7keKwLXdKQz4SOoo1baIdB55DwY0tNebusGegoxnARAoVk1RoqO1E
    e4FlvW5FkG4CNlPrFDEa0FKvURIDy+5g/dpS89k6UY=
X-Virus-Scanned: Debian amavisd-new at mail.xxx.fr
Received: by mail.xxx.fr (Postfix, from userid 33)
    id 525068392A; Wed, 14 Oct 2015 11:24:12 +0200 (CEST)
To: <[email protected]>
Subject: Envoi depuis webmail
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 14 Oct 2015 11:24:12 +0200
From: Damien Lxxxxxxx <[email protected]>
Message-ID: <[email protected]>
X-Sender: [email protected]
User-Agent: Roundcube Webmail/0.7.2

Bonjour,

Merci de me recontacter.

您知道我的設定有什麼問題嗎?

謝謝。

答案1

經過幾天的研究,我設法讓它發揮作用。

我在我的伺服器上新增了另一個 IP 故障轉移(不同的 IP 範圍),現在它可以工作了。

我認為谷歌有自己的黑名單,我的 IP 的前任所有者可能正在發送垃圾郵件。當他們說它與內容相關時,這不是真的,因為我發送了完全相同的電子郵件,但 SPF 和錯誤的反向內容都錯誤,而且它通過了,所以它完全與 IP 相關。

相關內容