diff --git a/states/email/exim4/conf.d/router/180_srs b/states/email/exim4/conf.d/router/180_srs index 2b49d33..e156f25 100644 --- a/states/email/exim4/conf.d/router/180_srs +++ b/states/email/exim4/conf.d/router/180_srs @@ -1,4 +1,4 @@ -fdef SRS_SECRET +.ifdef SRS_SECRET .ifdef DCconfig_internet @@ -9,7 +9,7 @@ fdef SRS_SECRET domains = ! +local_domains condition = ${if !eq {$local_part@$domain} \ {$original_local_part@$original_domain}} - transport = {remote_forwarded_smtp} + transport = remote_forwarded_smtp .elifdef DCconfig_smarthost DCconfig_satellite @@ -20,7 +20,7 @@ fdef SRS_SECRET domains = ! +local_domains condition = ${if !eq {$local_part@$domain} \ {$original_local_part@$original_domain}} - transport = {remote_forwarded_smtp_smarthost} + transport = remote_forwarded_smtp_smarthost .endif