Use system_mail_from when using SMTP system configuration

This commit is contained in:
wpetit 2018-06-25 11:02:58 +02:00
parent a420d20d39
commit a306f5ce19
1 changed files with 6 additions and 5 deletions

View File

@ -10,6 +10,7 @@ global:
smtp_smarthost: '%%exim_relay_smtp:465'
smtp_require_tls: true
%end if
smtp_from: '%%system_mail_from'
%else
smtp_smarthost: '%%alSMTPHost:%%alSMTPPort'
smtp_from: '%%alFrom'
@ -32,7 +33,7 @@ global:
# The directory from which notification templates are read.
templates:
- '/etc/alertmanager/template/*.tmpl'
- '/etc/alertmanager/template/*.tmpl'
# The root route on which each incoming alert enters.
route: