外寄電郵伺服器與 MX Record

SWP Logo

當我們要了解 postfix 如何把郵件傳送到互聯網上不同的電郵伺服器的時候,我們要先了解什麼是 DNS 中的 mx record 。

我們試試使用 dig 的指令來檢查一下 samba.hk 的 mx record 吧!

# dig -t mx samba.hk

; <<>> DiG 9.2.4 <<>> -t mx samba.hk
;; global options: printcmd
;; Got answer: