Knight Li design

Knight Li design

  • TOP
  • WORKS
  • STEP INTO TAINAN
  • BLOG
  • CONTACT
ALL TAGS
  • TOP
  • WORKS
  • STEP INTO TAINAN
  • BLOG
  • CONTACT

BLOG

Linode VPS 無法收發郵件

程式技術教學

PUBLIC DATE:2021.09.10

B-09202113
 
 Linode VPS 無法收發郵件





無法收發郵件原因


因 Linode 政策關係,在 2019 年底後註冊的新用戶預設對外【 不開放 tcp 25, 468, 587 port 】。
簡單來說,也就是無法收發郵件。目的是為了要減少 Spam。






解決方式


在 2019 年底後註冊的新用戶,請按照以下步驟:


STEP - 1首先去申請一組 Domain Name。
STEP - 2在 Linode 的 Domains 項目新增 Domain,並設定該台 Linode 的正解紀錄 A/AAAA Record。
STEP - 3在 Linode 的 Linodes 項目選擇該台 Linode。在 Network 子項目 IP Addresses 找尋 Type 欄位為 【 IPv4 - Public 】。
在相對應 Reverse DNS 欄位點選 Edit RDNS 做反解紀錄,之後輸入您所申請的 Domain Name。
STEP - 4在 Linode 的 Help & Support 項目選擇 Customer Support 並新增 Ticket 工作單,填寫需求給客服(下方有 Ticket 填寫範例),之後再等待客服回覆。
STEP - 5客服回覆(下方有客服所回覆的 Ticket 內容)裡有提到運行下方命令確認這些紀錄已正確配置。
按照步驟運行命令,運行的結果如下方,表示正解與反解紀錄已設定成功。
現在就可以馬上試試看您該台的 Linode 能不能收發郵件了。

● 運行該台 Linode 正解與反解紀錄:



# for checking the A record($Domain 為該台的 Linode 您所申請的 Domain Name)
dig +short $Domain
# 運行結果:該台的 Linode IP

# for checking rDNS($IPaddress 為該台的 Linode IP 1XX.XXX.XXX.XXX)
dig -x $IPaddress +short
# 運行結果:該台的 Linode 您所申請的 Domain Name





Open New Ticket 填寫範例


Title(required)SMTP-Reopen ports 25, 465, and 587
What is this regarding?Linodes
Description(required)I need request reopen ports 25, 465, and 587 for my website SMTP.





客服所回覆的 Ticket 內容


Hello,

We can certainly lift the SMTP restrictions from your account. As you may know, to help combat spam on our platform, new Linode accounts have SMTP port restrictions in place on all Linodes by default. These restrictions have now been lifted, and you can begin sending email as soon as you'd like.
We ask that you configure rDNS for any mailing Linodes you deploy. Our guides on configuring DNS and rDNS records within the Linode Manager are linked below:
https://www.linode.com/docs/platform/manager/dns-manager/#add-dns-records
https://www.linode.com/docs/networking/dns/configure-your-linode-for-reverse-dns/
Once your DNS configuration is complete, you can confirm that these records have been configured correctly by running the following commands:



# for checking the A record
dig +short $Domain

# for checking rDNS
dig -x $IPaddress +short


We also recommend creating an SPF record for your mailing domain as this will help improve email deliverability. For more information please see our Running a Mail Server guide:
https://www.linode.com/docs/email/running-a-mail-server/#spf-records
If you plan on using the Linode(s) for business-related mailing now or in the future, please keep in mind that we require business mailing to adhere to the CAN-SPAM act.
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 or account termination.
Let us know if you have any questions for us, we’ll be happy to help.

Regards,
Natalie
Linode Support Team

TAGSALL TAGS

  • # Linode
  • # VPS

SHARE

https://knight-li.com/blog/B-09202113/detail

RELATED

  • Linode VPS 無法收發郵件

    2019.11.13

    npm CLI

    程式技術教學

  • Linode VPS 無法收發郵件

    2019.08.17

    Laravel PHP Artisan CLI

    程式技術教學

  • Nuxt.js 相關配置

    PREV POST Nuxt.js 相關配置

  • Laravel 相關配置

    NEXT POST Laravel 相關配置

Knight Li design

CONTACT

©Knight Li design, All Rights Reserved