So it uses the external SMTP for my domain at the end.
my validate.php
====================================
Component
Version
LibreNMS
1.36-52-g1188b53
DB Schema
235
PHP
7.0.22-0ubuntu0.16.04.1
MySQL
10.0.33-MariaDB-0ubuntu0.16.04.1
RRDTool
1.5.5
SNMP
NET-SNMP 5.7.3
====================================
[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:
includes/functions.php
[FAIL] You need to run this script as root or librenms
[FAIL] We have found some files that are owned by a different user than librenms, this will stop you updating automatically and / or rrd files being updated causing graphs to fail.
[FIX] chown -R librenms:librenms /opt/librenms
Files:
/opt/librenms/config.bak
[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:
includes/functions.php
Can’t say much more. You’re current settings and your original post show this mail is being delivered by sendmail and was accepted for delivery. So as far as we’re concerned, this is working.
Coming at this from a different direction - I configured Postfix on my LibreNMS box…
Why? Simply because its used for several monitoring type applications all of which can send email alerts, so if/when the SMTP smarthost is changed then I only have to change one destination.
To prevent relaying, it’s only listening on localhost/127.0.0.1/::1
Looks like sendmail was the problem, I removed it and installed postfix as satellite, configured my internal relay in the postfix conf.
As the “SMTP Host” field in the Email transport section does not really work with some configurations, it could be safer to specify in the official doc something like "works only with **** "