Configuration Postfix for Nagios

General support questions
Post Reply
IvanMohic
Posts: 2
Joined: 2019/04/19 09:45:32

Configuration Postfix for Nagios

Post by IvanMohic » 2019/04/19 09:51:20

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

User avatar
TrevorH
Forum Moderator
Posts: 26573
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Configuration Postfix for Nagios

Post by TrevorH » 2019/04/19 10:01:41

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.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

IvanMohic
Posts: 2
Joined: 2019/04/19 09:45:32

Re: Configuration Postfix for Nagios

Post by IvanMohic » 2019/04/19 12:08:22

Unfortunately I didn't download your copy. If I download yours, can I install it overwriting the version already running?

User avatar
TrevorH
Forum Moderator
Posts: 26573
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Configuration Postfix for Nagios

Post by TrevorH » 2019/04/20 13:45:49

So how did you install it then? The correct way to install anything on CentOS is by using the yum install command.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

Arie
Posts: 11
Joined: 2019/01/04 07:47:22

Re: Configuration Postfix for Nagios

Post by Arie » 2019/04/24 09:46:23

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.

Post Reply

Return to “CentOS 7 - General Support”