Compare commits

...

2 Commits

Author SHA1 Message Date
vfebvre de1500ef95 correction syntaxe subroutes 2022-02-07 12:23:45 +01:00
vfebvre c35d1f0416 fix mise en page configuration alertmanager 2022-02-07 11:17:10 +01:00
1 changed files with 6 additions and 6 deletions

View File

@ -4,11 +4,11 @@ global:
%if %%tls_smtp == "non" %if %%tls_smtp == "non"
smtp_smarthost: '%%exim_relay_smtp:25' smtp_smarthost: '%%exim_relay_smtp:25'
%elif %%tls_smtp == "port 25" %elif %%tls_smtp == "port 25"
smtp_smarthost: '%%exim_relay_smtp:25' smtp_smarthost: '%%exim_relay_smtp:25'
smtp_require_tls: true smtp_require_tls: true
%else %else
smtp_smarthost: '%%exim_relay_smtp:465' smtp_smarthost: '%%exim_relay_smtp:465'
smtp_require_tls: true smtp_require_tls: true
%end if %end if
smtp_from: '%%system_mail_from' smtp_from: '%%system_mail_from'
%else %else
@ -93,9 +93,9 @@ route:
continue: true continue: true
%if not %%is_empty('alSubRoute') %if not %%is_empty('alSubRoute')
routes:
%for sroute in %%getVar('alSubRoute',[]) %for sroute in %%getVar('alSubRoute',[])
%if %%sroute == %%rt %if %%sroute == %%rt
routes:
- match: - match:
%%{sroute.alSubRouteMatchSource}: %%{sroute.alSubRouteMatchValue} %%{sroute.alSubRouteMatchSource}: %%{sroute.alSubRouteMatchValue}
receiver: %%sroute.alSubRouteMatchReceiver receiver: %%sroute.alSubRouteMatchReceiver