Removing sendmail?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Removing sendmail?

Post by gormank »

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...
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Removing sendmail?

Post by dwhitfield »

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?
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Removing sendmail?

Post by avandemore »

Nagios doesn't use Sendmail, it uses /usr/sbin/sendmail eg your local MTA. In CentOS 6/7 this is:

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.postfix
You are free to use whatever MTA you like as long as /usr/sbin/sendmail is compatible.
Previous Nagios employee
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Removing sendmail?

Post by gormank »

Thanks, free to close.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Removing sendmail?

Post by avandemore »

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
Locked