Hi there, I’m having a weird issue with email alerts. I THINK I’ve set it up all right in the UI. I looks ok. But when I push “test transport” the button goes red for a moment then nothing. I’ve Set up a few alerts to use email and they all give the error “Could not issue recovery for rule ‘Storage space warning’ to transport ‘mail’ Error: Could not instantiate mail function.”
The host can contact the mail server and SMTP isn’t blocked. tcpdump shows no attempt to connect to port 25 on the remote server. It’s just like nothing is happening. Upload of my conf screen for email.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX] You can fix this with ./scripts/github-remove
Modified Files:
daily.sh
That’s not broken. That’s a deliberate change to the daily.sh file. I’ve commented out the 3 lines that grab the updated notifications from the librenms site as I didn’t want to receive them. All other featured of the daily.sh file are untouched. This problem existed before I made that minor change.
The change was literally this.
# notifications)
# # Get notifications
# local options=("notifications");
# call_daily_php "${options[@]}";
# ;;
Is there any good debug I can enable or look at? Surly when I mash the “test transport” button it must execute some code? Is it possible to enable debug that would show up in some log that I can then use to figure out where it is failing. Because at the moment it doesn’t even look like it’s trying to send an email.
Something similar to the auth_test.php scripts in the /scripts folder?
Same here and some other guy on discord, it worked perfectly for several months, but an update between 12.-14. Feb seems to destroy the smtp function.
So it’s not just you!
@Kevin_Krumm please tell us how to debug, if possible
PS: The SMTP Host doesn’t even get contacted. Telnet works fine, so it’s not a firewall issue etc.
Edit: Did you release an update or something? SMTP Mail works now, after ~4 days of not working