Page 1 of 1

Apply nagios smtp email

Posted: Mon Jan 18, 2021 3:42 am
by murawweh
Hi,
I applied smtp to send email and failed, after apply debug found the below errors. How can i solve it?
2021-01-18 08:38:00 Auth method requested: UNKNOWN
2021-01-18 08:38:00 Auth methods available on the server: NTLM
2021-01-18 08:38:00 Auth method selected: NTLM
2021-01-18 08:38:00 You need to enable some modules in your php.ini file: the extension mcrypt required by the NTLM SASL client class is not available in this PHP configuration
SMTP Error: Could not authenticate.

Thanks

Re: Apply nagios smtp email

Posted: Tue Jan 19, 2021 11:44 am
by benjaminsmith
HI @murawweh,

Thanks for trying out Nagios XI!

What operating system did you install Nagios XI. It looks like it's trying to connect using NTLM, what type of email service are you connecting to, and do you know if it supports another type of authentication?

Regards,
Benjamin

Reference
https://github.com/PHPMailer/PHPMailer/issues/1025
https://www.corrensa.com/how-to-enable-php-mcrypt/