微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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.jb51.cc/linux/396480.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐