php – 如何在传出的HELO / EHLO中不使用“localhost.localdomain”?

我已经尝试了所有我能做到的事情而且我无法通过“localhost”来摆脱我的电子邮件标题.我最终在Spamhaus的CBL列表中,所以我在申请退市之前试图解决这个问题.

我已经设置了DKIM,SPF,sender-id auth.问题是PHPNginx将电子邮件从localhost传递给Postfix.

我在外发邮件上插入了这些“已接收:”标题

Received: from mydomain.com (unkNown [127.0.0.1]) by mail.mydomain.com (Postfix) with ESMTP id 452762A068
Received: (from Nginx@localhost) by mydomain.com (8.14.4/8.14.4/Submit) id r9THAQAP002693;

我想我需要清除未知和127.0.0.1,以及带有Nginx用户名的localhost.我正在运行CentOS 6.3.在此先感谢您的帮助.

解决方法:

CBL“localhost.localdomain”列表

您的主机已被列为名称“localhost.localdomain”,它已在helo / ehlo命令中发送出去.

您可以使用以下方法之一修复传出helo / ehlo命令中使用的名称

>更改主机名–fqdn报告的主机名
(FQDN =完全合格的域名)
它可能取决于OS /分发.它修复了大多数MTA中的类似问题.
> postfix配置中的smtp_helo_name选项

从CBL页面引用:

This IP address is HELO’ing as “localhost.localdomain” which violates the relevant standards (specifically: RFC5321).
The CBL does not list for RFC violations per-se. This particular behavIoUr, however, correlates strongly to spambot infections. In other words, out of thousands upon thousands of IP addresses HELO’ing this way, all but a handful are infected and spewing junk.

相关文章

统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...
统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...
前言 之前做了微信登录,所以总结一下微信授权登录并获取用户...
FastAdmin是我第一个接触的后台管理系统框架。FastAdmin是一...
之前公司需要一个内部的通讯软件,就叫我做一个。通讯软件嘛...
统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...