First of all, thank you and the Nagios team for creating and maintaining such a great system. I hope in the future I will be able to contribute in some way, thus giving back a little to the community.
For now however, I have an issue which I can't quite figure out. I could probably "hack" my way to a solution but that's not how I want my first encounter with Nagios to be. And besides, I'm sure there're better ways of dealing with this.
Long story short... I'm trying to set up email notifications. I'm filling out all the required fields, all is correct as far as I can tell, but when I try to send a test mail, this is the error I get on Nagios-side:
Code: Select all
A test email was sent to [email protected]
----
Mailer said: [02-14-2017 13:34:18] SMTP Error: Could not authenticate. (method=smtp;host=border.dodonet.hu;port=465;smtpauth=true;security=ssl), Referer: admin/testemail.php
An error occurred sending a test email!
Code: Select all
Feb 14 13:34:18 border postfix/smtpd[6740]: connect from catv-xxx-xxx-xxx-54.catv.broadband.hu[xxx.xxx.248.54]
Feb 14 13:34:18 border postfix/smtpd[6740]: warning: catv-xxx-xxx-xxx-54.catv.broadband.hu[xxx.xxx.248.54]: SASL LOGIN authentication failed:[b] Invalid authentication mechanism[/b]
I tried with a number of other settings, but it seems like Nagios wants to auth against the server using "LOGIN" mechanism - which is not going to work, since it's not enabled.
My question: Is there a "clean" way to make the mailer inside Nagios (Phpmailer I think) use the "PLAIN" mechanism instead?
Thank you for your kind advices!
Best Regards,
Levente