Page 1 of 1
Send alert mail over exchange smtp
Posted: Fri Oct 27, 2017 3:01 am
by maxvandl
Hello!
When i try send alert mail over exchange smtp i get
Oct 25 21:42:11 svrumskmon01 postfix/error[28944]: CB82C1B79: to=<helpdesk@domain>, relay=none, delay=185076, delays=185074/1.4/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to mailserver[IP]:25: Connection refused)
i make relay and connections to exchange
I use exchange 2013 did i need make any changes for postfix relay.
Re: Send alert mail over exchange smtp
Posted: Fri Oct 27, 2017 11:52 am
by kyang
Did you change your email settings in XI Home --> Admin --> (Under system config) click Manage email settings --> Change sendmail to SMTP.
Then add your SMTP host, Port --> username and password if necessary and security.
Take a look at the documentation on SMTP from pages (specifically pages 5-7)
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Does this help?
Re: Send alert mail over exchange smtp
Posted: Mon Oct 30, 2017 2:15 am
by maxvandl
kyang wrote:Did you change your email settings in XI Home --> Admin --> (Under system config) click Manage email settings --> Change sendmail to SMTP.
Then add your SMTP host, Port --> username and password if necessary and security.
Take a look at the documentation on SMTP from pages (specifically pages 5-7)
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Does this help?
it not help me. I did it.
Re: Send alert mail over exchange smtp
Posted: Mon Oct 30, 2017 10:36 am
by kyang
Are you able to telnet the exchange server over port 25?
Or you could run the check_smtp plugin from Nagios
Code: Select all
cd /usr/local/nagios/libexec
./check_smtp -H hostaddress -p 25
Are you authenticating SMTP?
Re: Send alert mail over exchange smtp
Posted: Mon Oct 30, 2017 2:42 pm
by maxvandl
kyang wrote:Are you able to telnet the exchange server over port 25?
Or you could run the check_smtp plugin from Nagios
Code: Select all
cd /usr/local/nagios/libexec
./check_smtp -H hostaddress -p 25
Are you authenticating SMTP?
[root@host libexec]# ./check_smtp -H mailserver -p 25
SMTP OK - 0.007 sec. response time|time=0.006663s;;;0.000000
Re: Send alert mail over exchange smtp
Posted: Mon Oct 30, 2017 5:00 pm
by dwhitfield
maxvandl wrote:delivery temporarily suspended
Are you still having issues? The temporary nature of this suggests you need to speak with your mail administrator, whether this is someone in your organization or an external provider.
It's possible there was initially a flood of emails. If you have warnings and criticals resolved, that flood would no longer be causing you to get blocked.
Re: Send alert mail over exchange smtp
Posted: Mon Nov 13, 2017 12:01 pm
by maxvandl
dwhitfield wrote:maxvandl wrote:delivery temporarily suspended
Are you still having issues? The temporary nature of this suggests you need to speak with your mail administrator, whether this is someone in your organization or an external provider.
It's possible there was initially a flood of emails. If you have warnings and criticals resolved, that flood would no longer be causing you to get blocked.
Now i can get email from nagios to nagios mailbox but cannt get email on helpdesk@domain
Still get error
svrumskmon01 postfix/error[28944]: CB82C1B79: to=<helpdesk@domain>, relay=none, delay=185076, delays=185074/1.4/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to mailserver[IP]:25: Connection refused)
Re: Send alert mail over exchange smtp
Posted: Mon Nov 13, 2017 4:49 pm
by kyang
It looks like it's the same issue as before?
status=deferred (delivery temporarily suspended: connect to mailserver[IP]:25: Connection refused)
Did you have a chance to speak to your mail administrator?
It goes back to what
@dwhitfield said in his previous post.
If you have warnings and criticals resolved, that flood would no longer be causing you to get blocked.
Do you have a lot of issues on Nagios, which are causing a lot of notifications?