一些郵件提供者拒絕我的郵件

一些郵件提供者拒絕我的郵件

我最近搬到了一台新伺服器,現在我的一個用戶抱怨電子郵件無法到達收件者。郵件日誌告訴我他們拒絕了郵件

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 自從被禁止以來已易手之外,您無法採取更多措施來解決該問題。

作為一個骯髒的快速解決方案,如果您有另一台伺服器,您也可以使用它選擇性地轉發發送到 AOL 的郵件,這樣它就不會看起來來自被禁止的伺服器。

相關內容