前言 / Introduction
最近在註冊某個服務時,我的 email 地址竟然被別人註冊走,導致驗證信收不到。 但聯絡客服申訴又過於麻煩,搶回來的機會又很渺茫,與其這樣,不如自己建立一個「可以正常收信」的網域信箱。
於是我用 Cloudflare Email Routing 搭配現有的 Gmail/iOS Mail 完成這件事,以下是我實際操作的流程與心得。
Why using Cloudflare Email Routing
與其再去註冊一個新信箱,不如直接用自己的網域收信,再轉寄到現有的 Gmail 或 iOS Mail。 Cloudflare 的 Email Routing 是免費的、無需自架 Mail Server,也完全不會改變日常的收信方式。
How to Do It
Add or Select Your Domain
If your domain is already on Cloudflare, just open it. Otherwise, add a new one
Enable Email Routing
進入後該網域,在左側的功能列表選「Email」→ 啟用 Email Routing。
Create a Custom Email Address
- Custom address:
[email protected] - Action: 選擇 “Send to email”
- Destination: 輸入你要接收的信箱(Gmail / iCloud / Outlook 都可以)
- Custom address:
Verify and Apply DNS Records
Cloudflare 會提示 MX、TXT 等紀錄,按下「Apply」就會自動幫你設定。
- MX records → for receiving mail
- TXT (SPF, DKIM, DMARC) → optional for verification
Confirm Forwarding Email
Easy Test
You can quickly verify if it works:
- 用另一組 email 寄信到你剛建立的網域信箱
- 看看 Gmail/iOS Mail 是否順利收到
- 信件標頭會顯示轉寄來源為 Cloudflare
如果能收到,就代表設定成功。
Setup Gmail SMTP
Cloudflare Email Routing 只能收信,無法直接寄信。但可以透過 Gmail 的 SMTP 伺服器去完成寄信的功能,這樣在 iOS Mail 或 Gmail Web 回覆時,寄件人就會顯示你的網域信箱。
Open Gmail
Log in to Gmail (web) → Settings → “Accounts and Import”
Under Send mail as, click
Add another email addressEnter:
- Name: hello
- Email:
[email protected] - SMTP server:
smtp.gmail.com - Username: your Gmail address
- Password: your Gmail app password (not your normal login; use App Passwords)
Gmail will send a confirmation email to
[email protected](you’ll receive it via Cloudflare routing → Gmail)Confirm it
Now Gmail can send as [email protected].
照著上面的步驟,你就擁有一個可以收發信的網域信箱了。
Advanced Tips
Multiple Aliases
你可以在同一網域下建立多個別名,例如 info@、support@ 或 test@。
所有郵件都可以轉寄到同一個目的地信箱,方便管理不同類型郵件或測試用途。
SPF / DKIM / DMARC Setup
Cloudflare 轉寄收信沒問題,但如果用 Gmail 或其他 SMTP 發信,建議設定 SPF / DKIM / DMARC 增加送達率。
Using Gmail App Password
若 Gmail 開啟雙因素驗證,必須產生 App Password 來使用 SMTP,避免洩漏主帳號密碼。
iOS Mail Signatures & From Selection
iOS Mail 可以設定多個寄件人地址:
- 設定路徑:設定 → Mail → 帳號 → Gmail → Email → From
- 寫信時選擇你想使用的別名即可。
Optional: Combine with Gmail Filters
可以用 Gmail 過濾器(Filter)依別名或用途標籤郵件,方便管理多個專案帳號或測試信箱。
Conclusion
結合 Cloudflare Email Routing 與 Gmail SMTP,是一個快速、免費、低維護的解法,當你想使用的信箱已被註冊時特別實用。
它能讓你 收發自訂網域信箱,無需架設完整郵件伺服器,且完全相容於 Gmail 與 iOS Mail。
Key Takeaways
- Quick workaround:當你的主要信箱被占用,可以立刻建立可用的網域信箱。
- Professional appearance:自訂網域信箱讓寄出的信更專業、容易識別。
- Flexible management:可建立多個別名、設定過濾器、管理測試或專案信箱。
- Safe & reliable:使用 Gmail SMTP 和 App Password,提高安全性與送達率。
- Scalable:隨時可以增加別名或新的轉寄地址,方便日後擴展。