linux – sendmail使用的是return-path而不是address

前端之家收集整理的这篇文章主要介绍了linux – sendmail使用的是return-path而不是address前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我有一个客户抱怨标记垃圾邮件的电子邮件.

我在看标题.它显示正确的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,因为标题告诉我们结果是中性的.您的客户必须接受预期收件人将其发送为垃圾邮件的事实.

如果这确实是误报,请考虑为域设置正确的SPFDKIM记录,并查看情况是否有所改善.

原文链接:https://www.f2er.com/linux/396480.html

猜你在找的Linux相关文章