Page 1 of 1

Mail notifications out of organisation's domain

Posted: Thu Aug 27, 2020 5:37 am
by IkaIka
Hello! I'm having problems with email notifications. They seem to work fine when sending to contacts within my organisation. However, there seems to be a problem sending to addresses outside of our domain.

I looked up the knowledge base on this (https://support.nagios.com/kb/article.php?id=36#), changed the settings under Admin -> Email Settings to SMTP and provided the address and access credentials to my company's mail server (I also contacted the person in charge of it to make sure our Exchange server is configured to relay mail properly). After saving the settings and sending a test email I got a reassuring green message box and found the message in my inbox (see the attachment).

Unfortunately, the notifications still seem to only be reaching people within my organisation and the person in charge of our Exchange server told me that Nagios doesn't seem to be using the new SMTP settings. It seems almost as if XI is only using the new settings for test emails and old ones for regular notifications. Is that possible?

My XI version is 5.6.12.

Re: Mail notifications out of organisation's domain

Posted: Tue Sep 08, 2020 1:24 pm
by gormank
To remove Nagios from the equation you might install postfix and add the mail relay to main.cfg, then send mail.

sendmail -v <address>
test
.
<enter>

That's about the most basic test mail you can create. You can make more complex messages by echoing into a pipe to sendmail, etc.