會員 | 【求助】Sendmail.cf 亂碼 更改設定reboot後,變成這樣 使用 M4 sendmail.mc > sendmail.cf 也還是一樣 請高手指點 謝謝 [root@ms root]# vi /etc/mail/sendmail.cf R$* $: < $&{client_resolve} > R<TEMP> $#TEMP $@ 4.7.1 $: "450 Relaying temporarily denied. Cannot resolve PTR record for " $&{client_addr} R<FORGED> $#error $@ 5.7.1 $: "550 Relaying denied. IP name possibly forged " $&{client_name} R<FAIL> $#error $@ 5.7.1 $: "550 Relaying denied. IP name lookup failed " $&{client_name} R$* $: <@> $&{client_name} # pass to name server to make hostname canonical R<@> $* $=P $:<?> $1 $2 R<@> $+ $:<?> $[ $1 $] R$* . $1 strip trailing dots R<?> $=w $@ RELAY ............以下省略 |
回覆 |
會員 | 你用什麼系統啊? 如果是自己編譯原始碼,sendmail 本身就有提供 Build 這支程式來做這些動作,如: cp generic-bsd4.4.mc sendmail.mc <-- 複製一份 mc vi sendmail.mc <-- 編輯 mc sh Build sendmail.cf <-- 產生 cf sh Build install-cf <-- 安裝 cf 如果是 FreeBSD,直接在 /etc/mail 裡面 make all install,產生到安裝 一併完成 你只要事先修改好所要的 mc 檔案就可以了 |
回覆 |
|
類似的主題 | ||||
主題 | 主題作者 | 討論版 | 回覆 | 最後發表 |
【求助】sendmail 如何設定擋附件 | a_nan_nan | -- FreeBSD & Linux 討 論 版 | 2 | 2005-12-28 05:13 PM |
【求助】sendmail erro | plex | -- FreeBSD & Linux 討 論 版 | 1 | 2003-06-30 05:59 PM |
【求助】sendmail 如何設定送信時不加上hostname?? | kv4088 | -- 網 路 技 術 版 | 0 | 2002-09-10 06:19 PM |
亂碼 | keepgo | -- 其 他 軟 體 討 論 版 | 0 | 2002-01-24 05:00 PM |
亂碼 | pupu | -- 其 他 軟 體 討 論 版 | 1 | 2001-07-12 08:29 PM |
XML | RSS 2.0 | RSS |
本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。