說明會, 將是對我九個月來, 對專案研究成果的總驗收,
我終於 解決了 網路上無解的問題 25 port Connection refused , 這個問題在網路上成千上萬的各種解決 方案,最後的答案只有一個, 就是 第 25 port 始終開不了, 就算知道的專家也只有他自己密而不宣,
書上會教你步驟與方法, 但沒說, 出了問題正確的解法是什? 就像網路那樣多的高手, 都提出了專業的解
法, 按照步驟做的結果是
telnet localhost 25 telnet: connect to address ::1: Connection refused
&n telnet: connect to address 127.0.0.1: Connection refused
我說的條件是 啟用 SMTP 認證寄信 , 確認 SMTP 認證設定 , 安裝 設定 啟動 open webmail, 到寄信 一整套的過程答案是 OpenWebMail ERROR 無法開啟 any SMTP servers 127.0.0.1 at port 25
&
127.0.0.0 0.0.0.0 均啟動 , 這等於關閉 第 25 port , 停止 SMTP 外寄信件的功能
O DaemonPortOptions=Port=smtp,
O DaemonPortOptions=Port=smtp,
OpenWebMail ERROR 無法開啟 any SMTP servers 127.0.0.1 at port 25
------------------------------
解決 telnet localhost 25 telnet: connect to address ::1: Connection refused
telnet: connect to address 127.0.0.1: Connection refused 等問題採取辦法,
將 /etc/mail/sendmail.cf 的唯讀 chmod 755 /etc/mail/sendmail.cf ,
O DaemonPortOptions=Port=smtp,
O DaemonPortOptions=Port=smtp,
修正為
# O DaemonPortOptions=Port=smtp,
O DaemonPortOptions=Port=smtp,
存檔後 , 在啟動 sendmail 後 25 port 就自動打開
--------------------------------------------------------------------------------------------------
[root@server200 cf]# telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 server200 ESMTP Sendmail 8.14.3/8.14.3; Fri, 21 May 2010 06:08:17 +0800
ehlo localhost
250-server200 Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZ 220 server200 ESMTP Sendmail 8.14.3/8.14.3; Fri, 21 May 2010 06:11:31 +0800
ehlo localhost
250-server200 Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
250-DELIVERBY
250 HELP
quit
221 2.0.0 server200 closing connection
Connection closed by foreign host.
最好的答案就是我附的圖片說明, 只要用心就會解決問題, 機會永遠是在解決問題的答案上



