Hi,
There's a push to remove sendmail from any and all hosts and Nagios uses sendmail by default. Is there a reason sendmail installs and uses sendmail rather than a lighter solution?
I'm not trying to ask dumb questions, this is what I'm being asked (I'm familiar w/ sendmail so I like it)...
BTW, when I set up to use SMTP, and remove the user/password, they get put back in so authentication fails, since none should be used...
Removing sendmail?
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Removing sendmail?
Page 6 of https://assets.nagios.com/downloads/nag ... ios-XI.pdf has information on using SMTP instead of sendmail.
Does that answer your question, or would you like more detail about the actual reasons for choosing sendmail as default?
Does that answer your question, or would you like more detail about the actual reasons for choosing sendmail as default?
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Removing sendmail?
Nagios doesn't use Sendmail, it uses /usr/sbin/sendmail eg your local MTA. In CentOS 6/7 this is:
You are free to use whatever MTA you like as long as /usr/sbin/sendmail is compatible.
Code: Select all
[root@avandemore-centos6 etc]# ls -la /usr/sbin/sendmail
lrwxrwxrwx. 1 root root 21 Sep 28 16:41 /usr/sbin/sendmail -> /etc/alternatives/mta
[root@avandemore-centos6 etc]# ls -la /etc/alternatives/mta
lrwxrwxrwx. 1 root root 26 Sep 28 16:41 /etc/alternatives/mta -> /usr/sbin/sendmail.postfixPrevious Nagios employee
Re: Removing sendmail?
Thanks, free to close.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Removing sendmail?
NP, on a personal note I think Sendmail itself is a fine MTA. At least part of the discussion around it resembles more witchhunt than logic discussion, but YMMV.
Previous Nagios employee