你好,我已经安装了我的网络邮件。我发现它在 spamhaus 上列出。所以我尝试接收他们的验证电子邮件,但这封电子邮件被拒绝了。
日志:
Feb 9 17:44:01 mail postfix/postscreen[2033648]: CONNECT from [193.190.148.132]:33436 to [xxx.xxx.xxx]:25
Feb 9 17:44:01 mail postfix/dnsblog[2033651]: warning: dnsblog_query: lookup error for DNS query 132.148.190.193.zen.spamhaus.org: Host or domain name not found. Name service error for name=132.148.190.193.zen.spamhaus.org type=A: Host not found, try again
Feb 9 17:44:07 mail postfix/postscreen[2033648]: PASS NEW [193.190.148.132]:33436
Feb 9 17:44:07 mail postfix/smtpd[2033670]: warning: hostname mail-out2.spamhaus.org does not resolve to address 193.190.148.132: Name or service not known
Feb 9 17:44:07 mail postfix/smtpd[2033670]: connect from unknown[193.190.148.132]
Feb 9 17:44:07 mail postfix/smtpd[2033670]: Anonymous TLS connection established from unknown[193.190.148.132]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
Feb 9 17:44:08 mail postfix/smtpd[2033670]: NOQUEUE: reject: RCPT from unknown[193.190.148.132]: 450 4.7.1 <mail-out2.spamhaus.org>: Helo command rejected: Host not found; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-out2.spamhaus.org>
Feb 9 17:44:08 mail postfix/smtpd[2033670]: disconnect from unknown[193.190.148.132] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=6/8
我搜索了如何修复此问题,我发现问题应该出在/etc/postfix/main.cf
一些属性来自main.cf
:
# HELO restriction
smtpd_helo_required = yes
smtpd_helo_restrictions =
permit_mynetworks
permit_sasl_authenticated
check_helo_access pcre:/etc/postfix/helo_access.pcre
reject_non_fqdn_helo_hostname
reject_unknown_helo_hostname
postscreen_dnsbl_sites =
zen.spamhaus.org*2
bl.spamcop.net*1
b.barracudacentral.org*1
# zen.spamhaus.org=127.0.0.[2..11]*3
# b.barracudacentral.org=127.0.0.2*2
答案1
您的 DNS 已损坏。地址193.190.148.132
解析为mail-out2.spamhaus.org.
并mail-out2.spamhaus.org.
解析为193.190.148.132
。您的系统无法193.190.148.132
正确解析并将其标记为unknown
。