Page 1 of 1

How do I disable sendmail?

Posted: Tue Apr 30, 2013 1:00 pm
by Julie
Me again,

How do I disable the sendmail daemon in Linux so that its not checked during start up. I have no plans on using it in a test box and it takes three minutes to time out during the boot process. It's very annoying.

Re: How do I disable sendmail?

Posted: Tue Apr 30, 2013 1:11 pm
by JimKnicely
Julie,

What flavor of Linux are you running?

In RedHat and CentOS its easy to disable sendmail by editing the /etc/sysconfig/sendmail file and ...

Changing the line:
  • DAEMON=yes
To:
  • DAEMON=no

Re: How do I disable sendmail?

Posted: Tue Apr 30, 2013 2:21 pm
by JimKnicely
If you want to disable sendmail completely you can run the following command as root:

/sbin/chkconfig sendmail off