diff --git a/roles/mail/templates/amavis/conf.d/50-user.j2 b/roles/mail/templates/amavis/conf.d/50-user.j2 index 541d0f1..7f80dde 100644 --- a/roles/mail/templates/amavis/conf.d/50-user.j2 +++ b/roles/mail/templates/amavis/conf.d/50-user.j2 @@ -27,7 +27,11 @@ $spam_quarantine_to = undef; $X_HEADER_LINE = "$myproduct_name at $mydomain"; -# todo (mrks): determine local addresses +@local_domains_acl = ("{{ mail_domain }}" +{%- for domain in mail_domains %} +, "{{ domain }}" +{%- endfor %} +); #------------ Do not modify anything below this line ------------- 1; # ensure a defined return