I got the error Emails not receiving

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Post Reply
strippedbane
Posts: 1
Joined: Mon Feb 03, 2025 11:17 pm
Contact:

I got the error Emails not receiving

Post by strippedbane »

Hello, Team. I'm a new member of this forum.
I am unable to receive any emails from Nagios Core.
I tried sending a test email as well, but I did not receive it; I'm not sure what happened.
gwesterman
Posts: 239
Joined: Wed Aug 23, 2023 11:29 am

Re: I got the error Emails not receiving

Post by gwesterman »

Hi @strippedbane,

Are alerts working?

How did you test email?

What are you using to send emails?

Check out this doc on notifications in Core and this forum post that goes through email notifications in Core.
bbahn
Posts: 289
Joined: Thu Jan 12, 2023 5:42 pm

Re: I got the error Emails not receiving

Post by bbahn »

Hello @strippedbane,

Since you are using Nagios Core, you are probably running into the issue of modern mail providers not allowing basic authentication anymore. Nagios XI has an OAuth 2 integration which resolves this issue, but Nagios Core does not. For Nagios Core, you will need to use an SMTP server or mail service that permits basic auth.
You can verify that this is your problem by taking a look in /var/log/mail* to see the result of the attempted mail sending. If there is nothing there, you may have misconfigured your mail sending. Here are some resources for setting up email with Nagios Core:
Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
Post Reply