答案1
1)在/etc/rsyslog.conf中启用邮件登录
mail.*;mail.debug -/var/log/maillog
服务 rsyslog 重启
2)尝试找出这些消息是如何被postfix接收的
3)向main.cf添加正确的规则
像这样:
smtpd_relay_restrictions = permit_sasl_authenticated,
check_recipient_access hash:/etc/postfix/accept_my_domains,
check_recipient_access hash:/etc/postfix/access,
check_recipient_access hash:/etc/postfix/block_recipient,
check_helo_access hash:/etc/postfix/check_hello,
reject_unknown_recipient_domain,
reject_unauth_destination,
reject_invalid_hostname,
reject_unauth_pipelining,
reject_non_fqdn_recipient,
reject_unverified_recipient,
permit_auth_destination,
reject