QQ邮箱发送给iredmail自建企业域名的邮箱退回
查看日志显示
Jun 22 15:41:39 mail postfix/smtpd[15357]: NOQUEUE: reject: RCPT from out183-2-187-116.mail.qq.com[183.2.187.116]: 554 5.7.1 <out183-2-187-116.mail.qq.com>: Helo command rejected: ACCESS DENIED. Your email was rejected because the sending mail server appears to be on a dynamic IP address that should not be doing direct mail delivery (183-2-187-116); from=<***@qq.com> to=<blog@qmun.com> proto=ESMTP helo=<out183-2-187-116.mail.qq.com>
解决办法
HELO 检测里加个白名单。
vi /etc/postfix/helo_access.pcre
/^out\d{1,3}-\d{1,3}-\d{1,3}-\d{1,3}\.mail\.qq\.com$/ OK
重启服务