
我為我的網域創建了一個 postfix 伺服器:residencebauge.fr。
我還配置了 SPF 以僅授權我的公共 IP 位址:“v=spf1 a:vps.residencebauge.fr ip4:51.77.220.62 -all”
然後我配置了 DKIM 和 DMARC,當我檢查不同的網站時,一切似乎都是正確的。
當我直接從伺服器發送電子郵件時,一切似乎都正常,並且郵件永遠不會被視為垃圾郵件:
echo "TEST" | mail -a "From: [email protected]" -s "TEST" [email protected]
但是,我的 postfix 伺服器旨在將電子郵件轉發到 @residencebauge.fr 中的多個位址。事實上就像郵件清單一樣。
為此,我在虛擬地圖中定義了我的郵件清單。例如:
[email protected] [email protected]
當有人發送電子郵件至[電子郵件受保護],我希望將此電子郵件發送至[電子郵件受保護]而不被視為垃圾郵件。
但事實並非如此,電子郵件被視為垃圾郵件。
當我從以下位置發送電子郵件時[電子郵件受保護]到[電子郵件受保護],郵件收到於[電子郵件受保護]作為垃圾郵件。
在標題中我可以看到:
Received: from vps.residencebauge.fr (vps-3a4b84af.vps.ovh.net. [51.77.220.62])
by mx.google.com with ESMTPS id j2-20020adfe502000000b002dd02867a56si8919660wrm.263.2023.04.17.14.11.17
for <[email protected]>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 17 Apr 2023 14:11:17 -0700 (PDT)
Received-SPF: neutral (google.com: 51.77.220.62 is neither permitted nor denied by domain of [email protected]) client-ip=51.77.220.62;
Authentication-Results: mx.google.com;
dkim=pass [email protected] header.s=202006 header.b=ZYIsEzPx;
spf=neutral (google.com: 51.77.220.62 is neither permitted nor denied by domain of [email protected]) [email protected]
Authentication-Results: vps.residencebauge.fr; dkim=pass (2048-bit key; unprotected) header.d=neuf.fr [email protected] header.a=rsa-sha256 header.s=202006 header.b=ZYIsEzPx; dkim-atps=neutral
我猜這個問題是因為“google.com:51.77.220.62既不被網域允許也不被拒絕”[電子郵件受保護]「但我不知道如何解決它。
有人有什麼想法嗎?