后缀:Helo命令被拒绝:找不到主机

我有一个在Ubuntu上运行的Postfix 2.9.6,具有以下configurationhttps://gist.github.com/anonymous/400fb4afa05e18c6da2b并且我正在忍受有效客户端尝试向其自身发送电子邮件的以下问题。 我的大部分客户没有一个有效的FQDN作为主机名,但据我所知这不是一个问题,因为permit_sasl_authenticated但我不知道为什么下面的过程结束了这样的:

输出:220 mail.isp.es ESMTP后缀
 在:EHLO NoFQDN-主机
 出:250-mail.isp.es
 出:250-pipe道
 输出:250-SIZE 10240000
 输出:250-ETRN
 出:250-STARTTLS
 输出:250-AUTH PLAIN LOGIN CRAM-MD5 DIGEST-MD5
 输出:250-ENHANCEDSTATUSCODES
 出:250-8BITMIME
 出:250 DSN
 在:MAIL FROM:<[email protected]>
 输出:250 2.1.0好的
 在:RCPT TO:<[email protected]>
 输出:450 4.7.1:Helo命令被拒绝:找不到主机

会话中止,原因:失去连接

有关其他详细信息,请参阅本地邮件日志文件

以下是我的限制:

 smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org,reject_rbl_client blackholes.easynet.nl,reject_rbl_client dnsbl.njabl.org
 smtpd_data_restrictions = reject_unauth_pipelining
 smtpd_end_of_data_restrictions =
 smtpd_etrn_restrictions =
 smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated,warn_if_reject reject_non_fqdn_hostname,reject_invalid_hostname,许可
 smtpd_recipient_restrictions = permit_sasl_authenticated,reject_unauth_pipelining,permit_mynetworks,reject_non_fqdn_recipient,reject_unknown_recipient_domain,reject_unauth_destination,warn_if_reject reject_unknown_helo_hostname,许可
 smtpd_restriction_classes =
 smtpd_sender_restrictions = permit_sasl_authenticated,permit_mynetworks,warn_if_reject reject_non_fqdn_sender,reject_unknown_sender_domain,reject_unauth_pipelining,permit

有谁知道为什么客户不能发送电子邮件,而其他人呢?

重要的configuration部分
https://gist.github.com/anonymous/7168b1810d6f7bbea7e7

smtpd_recipient_restrictions = reject_unauth_pipelining,permit_mynetworks,reject_non_fqdn_recipient,reject_unknown_recipient_domain,reject_unauth_destination,reject_unknown_helo_hostname,permit_sasl_authenticated,permit

build议的修正
smtpd_recipient_restrictionssmtpd_recipient_restrictions放置reject_unknown_helo_hostname

您的客户端可能只需要改变他的电子邮件客户端的configuration。 你没有提到你是否启用了提交和/或smtps端口,但是,如果你只是提供端口25,他们可能只需要configuration他们的传出连接使用STARTTLS。