从我的网络服务器发送到 Gmail 地址(From:
地址为 )的几封电子邮件websitevisitor@gmail.com
已被 Gmail 标记为垃圾邮件。该From:
字段由表单数据填充,对应于访问者的实际电子邮件地址,通常是 Gmail 地址。将Return-Path:
始终指向一个地址account@mywebserver.com
,这意味着SPF和DKIM检查将正常工作。
当我检查 Gmail 帐户中的原始电子邮件时,我看到以下内容:
Delivered-To: webformrecipient@gmail.com
...
Return-Path: <account@mywebserver.com>
Received: from mywebserver.com (mywebserver.com. [my:ipv6:address])
by mx.google.com with ESMTPS id xxx
for <webformrecipient@gmail.com>
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Tue, 02 Feb 2016 00:40:02 -0800 (PST)
Received-SPF: pass (google.com: domain of account@mywebserver.com designates my:ipv6:address as permitted sender) client-ip=xxx;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of account@mywebserver.com designates my:ipv6:address as permitted sender) smtp.mailfrom=account@mywebserver.com;
dkim=pass header.i=@mywebserver.com;
dmarc=fail (p=NONE dis=NONE) header.from=gmail.com …
Run Code Online (Sandbox Code Playgroud)