Below you will find pages that utilize the taxonomy term “Sendmail”
September 29, 2011
CentOS5.5关闭sendmail服务【开机此处太慢】
"\u003cp\u003esendmail服务在系统启用的时候特别的慢,平时用的也不多的,所以为了安全直接将此服务关闭.并加速机器启用速度.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e1,关闭sendmail服务\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003e/etc/rc.d/init.d/sendmail stop\u003c/p\u003e\n\u003cp\u003eShutting down sendmail: [ OK ]\nShutting down sm-client: [ OK ]\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2,关闭sendmail自启动\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003e[root@lsp ~]# chkconfig sendmail off\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3,确认sendmail自启动已被关闭(都为off就OK)\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003e[root@lsp ~]# chkconfig –list sendmail\u003c/p\u003e\n\u003cp\u003esendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off\u003c/p\u003e\n\u003cp\u003e————–\u003c/p\u003e\n\u003cp\u003echkconfig –list 可以用来查看所有的服务\u003c/p\u003e\n\u003cp\u003e如果提示chkconfig命令找不到,可使用/sbin/chkconfig的形式\u003c/p\u003e"
December 15, 2010
彻底关闭FreeBSD中的sendmail服务
"\u003cp\u003eFreeBSD系统中的sendmail一直默认启动,而且不容易关闭。必须修改配置文件rc.conf,并一关闭几个相关进程才行。\u003c/p\u003e\n\u003cp\u003e在/etc/rc.conf文件中加入下面几行:\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003esendmail_enable=”NO”\u003c/p\u003e\n\u003cp\u003esendmail_submit_enable=NO\u003c/p\u003e\n\u003cp\u003esendmail_outbound_enable=NO\u003c/p\u003e\n\u003cp\u003esendmail_msp_queue_enable=NO\u003c/p\u003e\u003c/blockquote\u003e\n\u003cp\u003e重新启动系统。sendmail进程不再启动了。\u003c/p\u003e\n\u003cp\u003e试了一下,只要加一行,sendmail也不会启动了\u003c/p\u003e\n\u003cp\u003e在 /etc/rc.conf中加入\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003esendmail_enable=”NONE”\u003c/p\u003e\u003c/blockquote\u003e"