That's because you do not have the "mail" package installed. Your task is not to figure out a replacement for postfix, your task is to figure out why you can't connect to the mail server you are trying to send to.
Unless the mail server you are trying to send to is your own Nagios server. You still haven't said who owns the mail server: your organization or someone else?
Email notification from Nagios
Re: Email notification from Nagios
I presume the removal of postfix has now left your server without an mta.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Email notification from Nagios
Its working after changing the sendmail.mc and putting mail server at
define(`SMART_HOST', [IP ADDRESS])dnl
define(`SMART_HOST', [IP ADDRESS])dnl
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Email notification from Nagios
Okay, so you switched from postfix to sendmail correctly and you are now receiving notifications correctly?
Re: Email notification from Nagios
Yes I do
Thanks for the help. Good to close
Thanks for the help. Good to close