Page 1 of 1

Nagios core E-MailRelay

Posted: Mon Sep 01, 2014 6:56 am
by bonavox
Hello,
I installed smtp relay (E-MailRelay) on my nagios server 192.168.1.150 and it works fine when I send an email using telnet command like it's described here: http://emailrelay.sourceforge.net/userguide.html#SH_1_7
The problem is when I try to send nagios notifications via E-MailRelay, I get the following message:
Sep 1 12:10:01 server1 emailrelay[4279]: emailrelay: info: smtp connection closed: read error: disconnected: 192.168.1.150:49111

Code: Select all

vi /etc/ssmtp/ssmtp.conf

[email protected]
mailhub=192.168.1.150:25
rewriteDomain=gmail.com
hostname=ubuntu-virtual
AuthUser=
AuthPass=
FromLineOverride=YES
UseTLS=YES
please advise,
Thanks for your time.

Re: Nagios core E-MailRelay

Posted: Wed Sep 03, 2014 1:23 pm
by abrist
What notification command/handler are you using?