測試的系統環境
Red Hat 9.0
sendmail-8.12.8-4

請在 /etc/mail/sendmail.mc 的檔案裡增加下列的指令

在檔案最後面增加下面的文字

如圖所示

存檔後執行 m4

再讓 sendmail 重跑一次

就完成了.


請注意:

若是您的sendmail 設定好了之後無法收信,是因為sendmail.mc 中的下面這一行,您的Addr 被改回預設值的關係

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

您執行 m4 之後只要把 sendmail.cf 中的
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
改回 0.0.0.0 如下

就可以恢復正常了

 

參考網址
http://www.softworking.com/
http://phorum.study-area.org/viewtopic.php?p=144229&sid=3c6fb3c72eaa9aadaff4f13c913443b0
http://www.technoids.org/dnsbl.html

arrow
arrow
    全站熱搜

    安德森 發表在 痞客邦 留言(0) 人氣()