我需要为我的虚拟域设置 EHLO 名称。Postfix 使用 EHLO 发送邮件,我的主机名在哪里,我的服务器 IP 在JV.localdomain
哪里JV
62.210.xx.xx
我托管了 2 个域名domain1.com
,domain2.com
由于我被 spamhose 列入黑名单
如何为虚拟域设置 EHLO 名称,例如,如果我从 Postfix 发送邮件,则应domain1.com
使用 EHLO domain1.com
;如果我从domain2.com
Postfix 发送邮件,则应使用 EHLOdomain2.com
Dec 14 12:08:54 JV postfix/smtp[31513]: 0A08AB603DD: to=<[email protected]>, relay=mta7.am0.yahoodns.net[66.196.118.36]:25, delay=0.58, delays=0.14/0.05/0.29/0.1, dsn=5.7.1, status=bounced (host mta7.am0.yahoodns.net[66.196.118.36] said: 553 5.7.1 [BL21] Connections will not be accepted from 62.210.xx.xx, because the ip is in Spamhaus's list; see https://help.yahoo.com/kb/postmaster/SLN5070.html (in reply to MAIL FROM command))
Dec 14 13:32:52 JV postfix/smtp[3732]: 50C1AB603DD: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[64.233.167.27]:25, delay=0.37, delays=0.16/0.02/0.04/0.15, dsn=2.0.0, status=sent (250 2.0.0 OK 1450096372 14si25083369wmq.78 - gsmtp)
我使用 spamhose 检查过,其中提到 62.210.xx.xx 列在 XBL 中,因为它出现在:CBL
加拿大血统
IP Address 62.210.xx.xx is listed in the CBL. It shows signs of being infected with a spam sending trojan, malicious link or some other form of botnet.
It was last detected at 2015-12-15 12:00 GMT (+/- 30 minutes), approximately 2 hours, 30 minutes ago.
我的 Linux 中安装了 ClamAV 防病毒软件,它没有显示任何恶意软件。
This IP is infected (or NATting for a computer that is infected) with a spam-sending infection. In other words, it's participating in a botnet. If you simply remove the listing without ensuring that the infection is removed (or the NAT secured), it will probably relist again.
我尝试这样做这官方文件
/etc/postfix/master.cf:
mysmtp ... smtp -o smtp_helo_name=domain1.com
mysmtp ... smtp -o smtp_helo_name=domain1.com
/etc/postfix/main.cf:
smtp_helo_name = 62.210.xx.xx
但它没有起作用。请查看并建议任何可行的方法。
谢谢