Page 2 of 2

Re: Mail settings nagios

Posted: Fri Nov 07, 2014 9:32 am
by ericosman
slansing wrote:I highly recommend you follow this guide, it should get you on the right track and cover most if not all of the requirements you have:

http://www.telnetport25.com/2012/02/con ... gios-core/
I would like to follow this but... I use CentOS and whenn i install POSTFIX i'm not getting the purple screen....

Anybody else who knows something

Re: Mail settings nagios

Posted: Fri Nov 07, 2014 9:50 am
by rhassing
For postfix you could do the following:
Routing all mails to a smarthost (which could be you exchange server):

As it is CentOS, I assume the postfix config files live in /etc/postfix/main.cf

In/etc/postfix/main.cf add the line:

relayhost = <your exchange ip address>:25
This should be it... And then a restart of the postfix service.

Re: Mail settings nagios

Posted: Fri Nov 07, 2014 10:02 am
by ericosman
It works! :D

Image

Now i see i have to fix the time of the server :lol:

Re: Mail settings nagios

Posted: Fri Nov 07, 2014 10:09 am
by rhassing
Nice to hear it worked out.

Now I hope you don't receive too much mail :-)

Re: Mail settings nagios

Posted: Fri Nov 07, 2014 10:25 am
by slansing
Great! Yeah, without the CLI GUI thing, that guide does not work very well, however it helps you out in the later portions.