加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

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

发布时间:2020-12-14 02:46:27 所属栏目:Linux 来源:网络整理
导读:我有一个客户抱怨标记为垃圾邮件的电子邮件. 我在看标题.它显示正确的From:reg@company.com 但是,它不喜欢返回路径. Return-Path: apache@servername.mycompany.comReceived-SPF: neutral (google.com: x.x.x.x is neither permitted nor denied by domain
我有一个客户抱怨标记为垃圾邮件的电子邮件.

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

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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读