Email notifications not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: Email notifications not working

Post by manimurugesan »

hello

I am able to run

PFB log's

tail -f /usr/local/nagiosxi/tmp/phpmailer.log

[01-02-2019 15:00:01] The following From address failed:<mail id>
Called MAIL FROM without being connected,,,SMTP server error: Called MAIL FROM without being connectedSMTP server error: Called MAIL FROM without being connected (method=smtp;host=1<ip>;port=25;security=none), Referer: include s/components/xicore/xicore.inc.php > Event Handler Notification Email
[01-02-2019 15:00:01] The following From address failed: <mail id>: Called MAIL FROM without being connected,,,SMTP server error: Called MAIL FROM without being connectedSMTP server error: Called MAIL FROM without being connected (method=smtp;host=<ip>;port=25;security=none), Referer: include s/components/xicore/xicore.inc.php > Event Handler Notification Email
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email notifications not working

Post by scottwilkerson »

Do you have a valid "From" address specified in Admin -> "Manage Email Settings"?

It looks like the SMTP server is rejecting the From address
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: Email notifications not working

Post by manimurugesan »

Hello,

Now i am getting this error could you please help us to resolve this issue ?

A test email was sent to <my mail id>
----
Mailer said: [01-14-2019 18:34:04] SMTP Error: The following recipients failed: <my mail id>: Unable to relay for <my mail.id> (method=smtp;host=<smtp server ip>;port=25;security=none), Referer: admin/testemail.php
An error occurred sending a test email!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email notifications not working

Post by scottwilkerson »

You likely need to authenticate to your SMTP server. Please reach out to the mail administrator for the SMTP server you are using.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: Email notifications not working

Post by manimurugesan »

Thanks .

In nagiosxi we have configured many users so once they authenticated means if i enable mail notification for users then all the users will receive
right ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email notifications not working

Post by scottwilkerson »

manimurugesan wrote:Thanks .

In nagiosxi we have configured many users so once they authenticated means if i enable mail notification for users then all the users will receive
right ?
I am referring to authenticating on the Mail Settings page to the SMTP server. All users would use the same settings once it is resolved if they are using the standard XI notification handlers.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: Email notifications not working

Post by manimurugesan »

Thanks for your response.

I will check and let you know
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email notifications not working

Post by scottwilkerson »

manimurugesan wrote:Thanks for your response.

I will check and let you know
Sounds good
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: Email notifications not working

Post by manimurugesan »

Hello,

thanks for your support .

The email notifications issue has been resolved.

Now I can send email notifications to my mail box .
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email notifications not working

Post by scottwilkerson »

manimurugesan wrote:Hello,

thanks for your support .

The email notifications issue has been resolved.

Now I can send email notifications to my mail box .
great! Glad to hear they are resolved!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked