我有一个客户抱怨标记为垃圾邮件的电子邮件.
我在看标题.它显示正确的From:reg@company.com
但是,它不喜欢返回路径.
Return-Path: <apache@servername.mycompany.com> Received-SPF: neutral (google.com: x.x.x.x is neither permitted nor denied by domain of apache@servername.mycompany.com) client-ip=x.x.x.x; Authentication-Results: mx.google.com; spf=neutral (google.com: x.x.x.x is neither permitted nor denied by domain of apache@servername.mycompany.com) smtp.mail=apache@servername.mycompany.com
如何配置sendmail以使用Return-Path的From地址?
解决方法
从蝙蝠书(第1165页):
The Return-Path: header is intended to show the envelope address of
the real sender as opposed to the sender used for replying (the From:
and Reply-To: headers). In posting Usenet news,for example,the
Return-Path: shows “news” and the From: shows the address of the
posting user. But in general,Return-Path: should never be used for
replying to mail. It is intended to be used solely for notification of
delivery errors.
您的客户端没有Return-Path:标头的问题.没有SPF,因为标题告诉我们结果是中性的.您的客户必须接受预期收件人将其发送为垃圾邮件的事实.