MAIL SERVER寄送信件一直出現MX錯誤! 原來是: /etc/resolv.conf

設定 /etc/resolv.conf 檔案

之前的舊伺服器重新開機後一直出現MX not found總覺得那裡怪怪的.

後來原來是因為在伺服器重開之後name server 查詢伺服器異常.

更改了/etc/resolv.conf 才能夠發信件.

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND — YOUR CHANGES WILL BE OVERWRITTEN
nameserver 168.95.1.1
nameserver 168.95.2.1