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记录,并查看情况是否有所改善.

相关文章

insmod和modprobe加-f参数导致Invalid module format错误 这...
将ArchLinux安装到U盘 几个月前入门Arch的时候上网搜了不少安...
1、安装Apache。 1)执行如下命令,安装Apache服务及其扩展包...
一、先说一下用ansible批量采集机器信息的实现办法: 1、先把...
安装配置 1. 安装vsftpd 检查是否安装了vsftpd # rpm -qa | ...
如何抑制stable_secret读取关键的“net.ipv6.conf.all.stabl...