MS-Exchange - SMTP Error: Could not connect to SMTP host


Email alerting is not working when configured with SMTP/TLS.
I am getting following error SMTP Error: Could not connect to SMTP host

We have internal ms exchange server 2010

here is full configuration of Email Options
From name : Network Monitoring
From email address: [email protected] com
How to deliver mail: SMTP
SMTP port setting: 25
SMTP timeout setting: 10
Encryption: TLS
Auto TLS support: False
SMTP authentication: Enabled
SMTP Auth Username: [email protected]
SMTP Auth Password: ****

I can verify that 25 port is reachable to exchange server and username/password is correct.

with Encryption disabled and Authentication enabled I am getting SMTP Error: Could not authenticate

I have found similar problem on github, but unable to make same modification in functions.php because there is not SMTP Section in my case.

is it possible to debug following issue to see more details what is causing error ?


Component Version
LibreNMS 21.10.0-50-gb0e0d65c8
DB Schema 2021_10_20_224207_increase_length_of_attrib_type_column (224)
PHP 7.4.3
Python 3.8.10
MySQL 10.3.31-MariaDB-0ubuntu0.20.04.1
RRDTool 1.7.2


[OK] Composer Version: 2.1.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

issue was resolved by changing IP address with domain name in SMTP SERVER:.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.