Re: 請教sendmail啟動/關閉的問題(FreeBSD 6.3) - BBS

Table of Contents

※ 引述《[email protected] (工程酥)》之銘言:
: FreeBSD 6.3R...一開機就會啟動sendmail
: 我記得以前(4.11R)可以從/etc/rc.conf sendmail_enable="No",現卻不行

25.4.2.2 FreeBSD 4.5-STABLE after 2002/4/4 (Including 4.6-RELEASE and Later)

In order to completely disable sendmail, including the outgoing mail service,
you must use

sendmail_enable="NONE"

in /etc/rc.conf.

If you only want to disable sendmail's incoming mail service, you should set

sendmail_enable="NO"

in /etc/rc.conf. However, if incoming mail is disabled, local delivery will still function. More information on sendmail's startup options is available from the rc.sendmail(8) manual page.

: 爬了一下文, 6.3似乎已改到/etc/rc.d/sendmail控制
: 改成"No"然後reboot依舊啟動sendmail

25.4.2.3 FreeBSD 5.0-STABLE and Later

In order to completely disable sendmail, including the outgoing mail service,
you must use

sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"

in /etc/rc.conf.

If you only want to disable sendmail's incoming mail service, you should set

sendmail_enable="NO"

in /etc/rc.conf. More information on sendmail's startup options is available
from the rc.sendmail(8) manual page.

: 請前輩先知幫幫忙, 謝謝

資料出處...
http://www.freebsd.org/doc/zh_TW/books/handbook/mail-changingmta.html

--

All Comments