Page 1 of 1

Configuration Postfix for Nagios

Posted: 2019/04/19 09:51:20
by IvanMohic
Hi,

I need to configure postfix to send email alert. In this server I have configured Nagios monitoring services, but not able to correctly configre Postfix.
Can some help giving a very basic information about postfix configuration? I googled a lot on this argument but not able to find out something easy to solve my issue.

Thanks,
IvanMohic

Re: Configuration Postfix for Nagios

Posted: 2019/04/19 10:01:41
by TrevorH
Our copy of postfix comes out of the box ready to send emails from localhost. There should be nothing that needs to be done to enable this.

Re: Configuration Postfix for Nagios

Posted: 2019/04/19 12:08:22
by IvanMohic
Unfortunately I didn't download your copy. If I download yours, can I install it overwriting the version already running?

Re: Configuration Postfix for Nagios

Posted: 2019/04/20 13:45:49
by TrevorH
So how did you install it then? The correct way to install anything on CentOS is by using the yum install command.

Re: Configuration Postfix for Nagios

Posted: 2019/04/24 09:46:23
by Arie
Hi,

Chances are you might need to change some settings in /etc/postfix/main.cf

We changed
- myhostname = ourhousname
- mydestination = $myhostname, localhost.$mydomain
- relayhost = (internal relayhost for outgoing mail that gives permission to mail form the nagios server)

sc6 Arie.