作者giacch (giacch)
看板FreeBSD
标题Re: 请教sendmail启动/关闭的问题(FreeBSD 6.3)
时间Thu Apr 24 10:46:57 2008
※ 引述《[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
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 118.232.240.220