iT邦幫忙

1

centos7+postfix+dovecot_Port25無法啟動問題

各位先進好!
目前我的狀況是postfix+dovecot都能正常running
但是到dnsstuff.com去體檢,卻說無法連線到mailserver連線是失敗的
在雷鳥也是無法連上SMTP,但我防火牆都有開放port25了,找不出問題點,一直在爬文
下面是體檢結果,顯示的是連線拒絕的訊息

All connections to Mailservers port 25 have failed. The standard port for SMTP transactions is 25, so your servers should be operating on that port. It is recommended that it be fixed in order for your mail service to operate properly. The Mail Servers that failed are:

failed message send with: failed cx open with: failed socket connect with: Connection refused.

以上
不知各位先進是否能幫忙解惑

outgi iT邦新手 5 級 ‧ 2016-11-17 16:20:18 檢舉
不好意思!剛好找到關鍵文,已解決,方式如下
vim /etc/postfix/main.cf
錯誤
inet_interfaces = 192.168.0.2(內部IP), 127.0.0.1
inet_interfaces = localhost
成功
inet_interfaces = all
weiclin iT邦高手 4 級 ‧ 2016-11-17 16:29:01 檢舉
通常是會用 netstat 或是 ss 來檢查程式 listen 哪一個 ip, 比用猜的好
outgi iT邦新手 5 級 ‧ 2016-11-18 17:10:01 檢舉
感謝 weiclin 大大回答,其實我預設是設定127.0.0.1 ^^"
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答