我最近搬到了一台新服务器,现在我的一个用户抱怨电子邮件无法到达收件人。邮件日志告诉我他们拒绝了这封邮件
AOL will not accept delivery of this message. (in reply to end of DATA command))
refused to talk to me: 421 mtaig-mba02.mx.aol.com Service unavailable - try again later
Recipient address rejected: aol.com (in reply to RCPT TO command))
最后
(host mailin-03.mx.aol.com[64.12.91.196] said: 521 5.2.1 : (CON:B1) http://postmaster.info.aol.com/errors/554conb1.html (in reply to end of DATA command))
现在我不确定,我的 postfix 配置是否存在问题,或者我的主机托管商是否为我分配了一个“声誉不好”的旧 IP 地址,而这并不是我的错。
这就是我当前的 main.cf 的样子
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
readme_directory = no
smtpd_tls_cert_file = /root/ssl/startssl/domain_with_chain.pem
smtpd_tls_CAfile = /root/ssl/startssl/ca.pem
smtpd_tls_key_file = /root/ssl/domain.key
smtpd_use_tls=yes
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_tls_session_cache_timeout = 3600s
smtpd_tls_loglevel = 3
tls_random_source = dev:/dev/urandom
myhostname = domain.de
mydestination = localhost, localhost.localdomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_authenticated_header = yes
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
有任何改进建议或想法吗?哪里出了问题?
答案1
AOL 发出的错误消息似乎表明您的 IP 地址确实被阻止了。
您可以尝试使用在线数据库进行检查,例如发件人基础如果您的 IP 有列出的声誉。
不幸的是,由于禁止的性质,您无法采取更多措施来解决这个问题,只能尝试向相关提供商(在本例中为 AOL)提出上诉,并解释自从他们禁止该 IP 以来,该 IP 已易手。
作为一种肮脏的快速修复方法,如果您有另一台服务器,您也可以使用它有选择地中继发往 AOL 的邮件,这样它就不会显得来自被禁止的服务器。