Test transport on Email transport not working

Test transport on Email transport not working with the configuration

Any help would be greatly appreciated.

Change on /opt/librenms/includes/functions.php
from $mail->SMTPDebug = false;
to $mail->SMTPDebug = true;

Check /opt/librenms/logs/librenms.log, no related log found.

Telnet to SMTP host port 25 works.

You can send email from that server with no auth?

With reference to Alerts not deliverd by mail. Test Transport working fine ( Solved ), it does not fill in the auth.

I dont understand what you are saying?

On the reference, the SMTP auth is ‘NO’, while the author mentioned “Test Transport working fine”.

okay so you are that your email server does not need auth then to send email. Not sure why your referencing that post then? Are you saying that his solution solved yours with the system time being off??

Thanks Kevin for following up on my request. Greatly appreciated. I refer to the post as a reference to my case that the email server does not need auth to send email.

This request is to look for help on ‘Test transport on Email transport not working’.

Telnet to SMTP host port 25 works.
So, networking connection to SMTP server works.

I did the following change for debugging.

Change on /opt/librenms/includes/functions.php
from $mail->SMTPDebug = false;
to $mail->SMTPDebug = true;

Q1: Is this the right way to debug?

Checking /opt/librenms/logs/librenms.log, no related log found.
Q2: which log file to look into for debugging logs of Test transport failure?

If the test transport button is not working then your email settings are not correct.

Things to try.

  1. Set email address to one of the admin accounts and turn on Issue Alerts to admins. Remove the default contact.

  2. Try changing “How to deliver mail” to “send mail”.

  3. Check you the firewall where librenms is running on.

Thanks very much Kevin.

‘How to deliver mail’ = ‘SMTP’ still does not work in my lab env, while ‘How to deliver mail’ = ‘sendmail’ works.

Greatly appreciated.

1 Like