How do I disable sendmail?

Moderator: NorbertKrupa

Post Reply
User avatar
Julie
Master
Master
Posts: 221
Joined: Thu Apr 19, 2012 9:29 pm

How do I disable sendmail?

Post by Julie » Tue Apr 30, 2013 1:00 pm

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.
Thanks,
Juliette

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: How do I disable sendmail?

Post by JimKnicely » Tue Apr 30, 2013 1:11 pm

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
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: How do I disable sendmail?

Post by JimKnicely » Tue Apr 30, 2013 2:21 pm

If you want to disable sendmail completely you can run the following command as root:

/sbin/chkconfig sendmail off
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

Post Reply

Return to “Vertica and the Operating System”