Linux

雅虎的電子郵件暫時被暫停,而雅虎根本不在乎

  • December 30, 2019

我的郵件隊列中有 4000 封等待發送給雅虎的電子郵件,如下所示:

(delivery temporarily suspended: lost connection with mta7.am0.yahoodns.net[98.136.96.91] while sending RCPT TO)
                                        elfo_arya@yahoo.com

D0C9B29E4F    15392 Sun Dec 15 19:31:15  nobody@arsacia.ir
(delivery temporarily suspended: lost connection with mta7.am0.yahoodns.net[98.136.96.77] while sending RCPT TO)
                                        hamid.g1380@yahoo.com

D326520AA2    15301 Sun Dec 15 10:18:40  nobody@arsacia.ir
(delivery temporarily suspended: lost connection with mta7.am0.yahoodns.net[98.136.96.91] while sending RCPT TO)
                                        Radikalsa37@yahoo.com

DD42221113    15303 Thu Dec 12 20:57:13  nobody@arsacia.ir
(delivery temporarily suspended: lost connection with mta7.am0.yahoodns.net[98.136.96.91] while sending RCPT TO)
                                        msmsad84@yahoo.com

DBED020BBA    14573 Wed Dec 11 09:05:49  nobody@arsacia.ir
(delivery temporarily suspended: lost connection with mta7.am0.yahoodns.net[98.136.96.91] while sending RCPT TO)
                                        mmd.padi81@yahoo.com

DB3A920F65    15389 Sat Dec 14 11:04:58  nobody@arsacia.ir
(delivery temporarily suspended: lost connection with mta7.am0.yahoodns.net[98.136.96.91] while sending RCPT TO)
                                        d_bidarmanesh@yahoo.com

DA9B620C72    15039 Thu Dec 12 19:07:21  nobody@arsacia.ir
(delivery temporarily suspended: lost connection with mta7.am0.yahoodns.net[98.136.96.77] while sending RCPT TO)
                                        blayk38@yahoo.com

D329020571    15542 Wed Dec 11 12:57:40  nobody@arsacia.ir
(delivery temporarily suspended: lost connection with mta7.am0.yahoodns.net[98.136.96.91] while sending RCPT TO)
                                        DanialNoise@Yahoo.Com

DC5A229CBC    15526 Sat Dec 14 15:08:39  nobody@arsacia.ir
(delivery temporarily suspended: lost connection with mta7.am0.yahoodns.net[98.136.96.91] while sending RCPT TO)
                                        omidmousavi459@yahoo.com

受影響的 IP:mail.arsacia.ir (89.42.211.41)(專用 IP 地址)(不在任何黑名單中)

當我向 yahoo 發送電子郵件時登錄我的 postfix 郵件伺服器:

Dec 16 05:06:32 server postfix/submission/smtpd[3459]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Dec 16 05:06:32 server postfix/submission/smtpd[3459]: connect from server.arsacia.ir[89.42.211.41]
Dec 16 05:06:32 server postfix/submission/smtpd[3459]: 90C4C2067B: client=server.arsacia.ir[89.42.211.41], sasl_method=LOGIN, sasl_username=root
Dec 16 05:06:32 server postfix/cleanup[3462]: 90C4C2067B: message-id=<8YSWKhJkXRVYsuRIRnO7Cz99BnsNG0VX8rI8SK08HHs@arsacia.ir>
Dec 16 05:06:32 server postfix/qmgr[3405]: 90C4C2067B: from=<noreply@arsacia.ir>, size=8530, nrcpt=1 (queue active)
Dec 16 05:06:32 server postfix/submission/smtpd[3459]: disconnect from server.arsacia.ir[89.42.211.41]
Dec 16 05:06:34 server postfix/smtp[3463]: 90C4C2067B: host mta5.am0.yahoodns.net[98.136.96.91] said: 421 4.7.0 [TSS04] Messages from 89.42.211.41 temporarily deferred due to user complaints - 4.16.55.1; see https://help.yahoo.com/kb/postmaster/SLN3434.html (in reply to MAIL FROM command)
Dec 16 05:06:34 server postfix/smtp[3463]: 90C4C2067B: lost connection with mta5.am0.yahoodns.net[98.136.96.91] while sending RCPT TO
Dec 16 05:06:37 server postfix/smtp[3463]: 90C4C2067B: to=<clubassassinha@yahoo.com>, relay=mta5.am0.yahoodns.net[67.195.228.106]:25, delay=4.7, delays=0.1/0.02/4.3/0.29, dsn=4.7.0, status=deferred (host mta5.am0.yahoodns.net[67.195.228.106] said: 421 4.7.0 [TSS04] Messages from 89.42.211.41 temporarily deferred due to user complaints - 4.16.55.1; see https://help.yahoo.com/kb/postmaster/SLN3434.html (in reply to MAIL FROM command))

這個錯誤絕不是暫時的!我已經有很多年了,只是雅虎遇到了問題,這是我的郵件伺服器向 gmail 發送電子郵件時的日誌範例:

Dec 16 05:10:16 server postfix/submission/smtpd[3476]: connect from server.arsacia.ir[89.42.211.41]
Dec 16 05:10:16 server postfix/submission/smtpd[3476]: 4242420AAA: client=server.arsacia.ir[89.42.211.41], sasl_method=LOGIN, sasl_username=root
Dec 16 05:10:16 server postfix/cleanup[3483]: 4242420AAA: message-id=<Acf5mUPfrtqfbrXqxb5FcueIauDvAOb6YRYceqc8hVU@arsacia.ir>
Dec 16 05:10:16 server postfix/qmgr[3405]: 4242420AAA: from=<noreply@arsacia.ir>, size=8516, nrcpt=1 (queue active)
Dec 16 05:10:16 server postfix/submission/smtpd[3476]: disconnect from server.arsacia.ir[89.42.211.41]
Dec 16 05:10:18 server postfix/smtp[3484]: 4242420AAA: to=<AilSynthax@gmail.com>, relay=gmail-smtp-in.l.google.com[64.233.167.26]:25, delay=2.2, delays=0.1/0.02/1.3/0.77, dsn=2.0.0, status=sent (250 2.0.0 OK  1576473018 h189si14621274wmh.31 - gsmtp)
Dec 16 05:10:18 server postfix/qmgr[3405]: 4242420AAA: removed

這是我向 Outlook 發送電子郵件時的日誌:

Dec 16 05:27:11 server postfix/submission/smtpd[3524]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Dec 16 05:27:11 server postfix/submission/smtpd[3524]: connect from server.arsacia.ir[89.42.211.41]
Dec 16 05:27:11 server postfix/submission/smtpd[3524]: 8F6C020AAA: client=server.arsacia.ir[89.42.211.41], sasl_method=LOGIN, sasl_username=root
Dec 16 05:27:11 server postfix/cleanup[3528]: 8F6C020AAA: message-id=<knpJOzRm5AS3BcRZu8ziW3UXctH9tTYqP8okB5TA@arsacia.ir>
Dec 16 05:27:11 server postfix/qmgr[3405]: 8F6C020AAA: from=<noreply@arsacia.ir>, size=8506, nrcpt=1 (queue active)
Dec 16 05:27:11 server postfix/submission/smtpd[3524]: disconnect from server.arsacia.ir[89.42.211.41]
Dec 16 05:27:16 server postfix/smtp[3529]: 8F6C020AAA: to=<AilSynthax@outlook.com>, relay=outlook-com.olc.protection.outlook.com[104.47.66.33]:25, delay=4.6, delays=0.09/0.02/2.1/2.3, dsn=2.6.0, status=sent (250 2.6.0 <knpJOzRm5AS3BcRZu8ziW3UXctH9tTYqP8okB5TA@arsacia.ir> [InternalId=12309376296217, Hostname=MW2NAM12HT052.eop-nam12.prod.protection.outlook.com] 16145 bytes in 0.327, 48.135 KB/sec Queued mail for delivery -> 250 2.1.5)
Dec 16 05:27:16 server postfix/qmgr[3405]: 8F6C020AAA: removed

其他所有電子郵件服務都可以使用我的電子郵件,這只是雅虎。

我的後綴配置:

alias_database = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
inet_interfaces = all
inet_protocols = ipv4
mailbox_size_limit = 0
milter_default_action = accept
milter_protocol = 2
mydestination = $myhostname localhost.$mydomain $mydomain
myhostname = server.arsacia.ir
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = $mydomain
non_smtpd_milters = inet:localhost:1230
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_enforce_tls = yes
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_milters = inet:localhost:12301
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_tls_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/letsencrypt/live/arsacia.ir-0003/fullchain.pem
smtpd_tls_key_file = /etc/letsencrypt/live/arsacia.ir-0003/privkey.pem
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps = hash:/etc/postfix/virtual

這是雅虎的回答: 在此處輸入圖像描述

他們根本不在乎。我已經註冊了雅虎投訴回饋循環,沒有收到任何投訴。

我還檢查了 mxtoolbox.com,絕對沒有報告任何問題,並且所有檢查都通過了。我有 DKIM、DMARC 和 SPF,它們都“通過”。電子郵件使用正確的 SSL 加密。

有人知道如何解決這個問題嗎?這對我和我的使用者來說真的很煩人,他們必須等待 24 小時才能從我的電子郵件伺服器接收他們的電子郵件。

您需要為所有 Yahoo 域配置 Postfix 的傳出速率限制,因為顯然 Yahoo 不喜歡您的速度/並發級別,並且您的 MTA 總是因此觸發某種類型的反垃圾郵件防禦機制。

看看這個作者遇到同樣問題的部落格文章,它可能會有所幫助:

https://www.stevejenkins.com/blog/2012/08/how-to-postfix-configuration-to-reduce-yahoo-deferrals-using-transport-maps/

可以在這裡找到更簡單的描述:https ://wiki.deimos.fr/Postfix:_limit_outgoing_mail_throttling.html#Limit_by_domain

如果速率限制沒有像預期的那樣起作用,您還有兩個選擇:要麼完全忘記向 Yahoo 發送電子郵件,要麼使用在 Yahoo 有良好信譽的商業郵件傳遞提供商來完成該任務。

引用自:https://serverfault.com/questions/995731