I have LibreNMS running in a docker container, I have tried to send email alerts using mail and sendmail but it doesn’t seem to work.
Mail option triggers the below error :
Could not issue critical alert for rule ‘Sensor over limit - Check Device Health Settings’ to transport ‘mail’ Error: Could not instantiate mail function.
sendmail option triggers this :
Could not issue critical alert for rule ‘Sensor over limit - Check Device Health Settings’ to transport ‘mail’ Error: Could not execute: /usr/sbin/sendmail
f0bec5c2b0a7:/opt/librenms$ ./validate.php
| Component | Version |
|---|---|
| LibreNMS | 21.12.0 |
| DB Schema | 2021_25_01_0129_isis_adjacencies_nullable (229) |
| PHP | 7.4.26 |
| Python | 3.9.5 |
| MySQL | 10.5.13-MariaDB-1:10.5.13+maria~focal |
| RRDTool | 1.7.2 |
| SNMP | 5.9 |
| ==================================== |
[OK] Installed from package; no Composer required
[WARN] You have the old alerting system enabled - this is to be deprecated on the 1st of June 2015: Redirecting to Google Groups
[OK] Database connection successful
[OK] Database schema correct
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[WARN] Non-git install, updates are manual or from package
Any help would be appreciated!

