Debian

Debian 8 上的 Exim 4 - 不接受外部郵件

  • June 5, 2016

幾天前安裝了一個新伺服器:Debian 8,Exim4。

我可以從這個伺服器發送郵件,我可以在內部接收郵件,但伺服器不接受外部郵件。

所有電子郵件都返回錯誤,例如

----- The following addresses had fatal errors -----
Host not reachable.

我安裝了 CSF/LFD 防火牆並打開了 25 埠:TCP_IN、TCP_OUT、TCP6_IN、TCP6_OUT。

進出口配置:

internet site; mail is sent and received directly using SMTP

IP-addresses to listen on for incoming SMTP connections: 
127.0.0.1 ; ::1

Other destinations for which mail is accepted: 
example.com

Domains to relay mail for: 
example.com

哪裡有問題?

問題在這裡:

IP-addresses to listen on for incoming SMTP connections: 
127.0.0.1 ; ::1

您只exim監聽傳入的連接localhost

引用自:https://serverfault.com/questions/782050