《Disney +》 迪士尼、Marvel、彼思、星球大戰…  「Zoff」X「DQ X」聯名款眼鏡確定再度上市!同場加映試戴心得回顧!   累計販賣數突破450萬套!!《惡靈古堡8村莊》發布追加DLC 還有「那部影片」人氣感謝活動…?   《Fall Guys》第4.5賽季致勝秘訣大公開   《Godfall》現已登陸PS4,同時推出全新「Fire & Darkness」擴充內容   日本資深歌手吉幾三為《惡靈古堡8 村莊》獻唱官方印象曲「俺らこんな村いやだLv.100」!   高規格電競手機「黑鯊 3」霸氣下殺一萬日幣!   你快死吧!「鬼滅之刃 火神血風譚」蟲柱「胡蝶忍」確定參戰!   《BanG Dream! 少女樂團派對 for Nintendo Switch》真人電視廣告公開! 

Linode Email 無法寄送的解法

商業

Linode 於 2019/12/5 以後開得新帳號(原因:CAN-SPAM Act),連到外部 SMTP Port 預設都被擋掉,以至於全部 Connection timed out。

新開機器可以直接 telnet 測試看看:

$ telnet gmail-smtp-in.l.google.com 25
Trying 2404:6800:4008:c03::1b…
Trying 74.125.203.26…
telnet: Unable to connect to remote host: Connection timed out

正常狀況

$ telnet gmail-smtp-in.l.google.com 25
Trying 74.125.203.26…
Connected to gmail-smtp-in.l.google.com.
Escape character is '^]'.
220 mx.google.com ESMTP k2si12268129pld.364 - gsmtp

於 Postfix 的 /var/log/mail.log 會看到下述訊息:

Apr 29 12:47:24 localhost postfix/smtp[18520]: connect to gmail-smtp-in.l.google.com[74.125.203.27]:25: Connection timed out
Apr 29 12:47:24 localhost postfix/smtp[18521]: connect to gmail-smtp-in.l.google.com[108.177.97.27]:25: Connection timed out
Apr 29 12:47:24 localhost postfix/smtp[18523]: connect to gmail-smtp-in.l.google.com[64.233.189.26]:25: Connection timed out
Apr 29 12:47:54 localhost postfix/smtp[18523]: connect to alt1.gmail-smtp-in.l.google.com[108.177.9.27]:25: Connection timed out
Apr 29 12:48:24 localhost postfix/smtp[18523]: connect to alt2.gmail-smtp-in.l.google.com[209.85.234.26]:25: Connection timed out
Apr 29 12:48:54 localhost postfix/smtp[18522]: connect to alt3.gmail-smtp-in.l.google.com[142.250.11.27]:25: Connection timed out Apr 29 12:49:24 localhost postfix/smtp[18520]: connect to alt4.gmail-smtp-in.l.google.com[142.250.12.27]:25: Connection timed out

想要開通 Email 的 SMTP Port 需要做些設定,然後在於後台開 Ticket 申請。

Linode Email 無法寄送的解法

此問題解法只能開 Ticket 給 Linode,然後 Linode 會需要做幾個設定:

  1. a valid DNS A record
  2. rDNS for any Linodes that you plan to use to send email.
  3. Our guides on configuring DNS and rDNS records within the Linode Manager are linked below:
    1. Next, we ask that you provide us with the name(s) of the Linode(s) that you will be using for mailing.
    2. Finally, we recommend you review Section 2 ("Abuse") of our Acceptable Use Policy. Terms of Service or AUP violations may result in the reinstatement of SMTP port restriction.

所以設定下述:

  1. A (ipv4) / AAAA (ipv6) / Wildcard () Domain 設定到 Linode 的 IP
  2. 設定反解,在 Linode 的機器

設定完成後,驗證:

  • dig +short $DOMAIN # check A record
  • dig -x $IP +short # check rDNS 反解

設定完成後,再回覆 Ticket 即可

相關網頁

Tsung

隨機商業新聞

Micorsoft