Re: 請教sendmail啟動/關閉的問題(FreeBSD 6.3)
※ 引述《AndyLie.bbs@bbs.wretch.cc (工程酥)》之銘言:
: 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
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.232.240.220
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 3 之 3 篇):