From 171700f752e6f7b9f6d5b7ee199a811db7cc2e5b Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Mon, 11 Apr 2016 22:39:05 +0200 Subject: [PATCH] Set domains for which amavis feels responsible. --- roles/mail/templates/amavis/conf.d/50-user.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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