diff --git a/roles/mail/templates/default/postsrsd.j2 b/roles/mail/templates/default/postsrsd.j2 index af41681..27482fa 100644 --- a/roles/mail/templates/default/postsrsd.j2 +++ b/roles/mail/templates/default/postsrsd.j2 @@ -11,10 +11,10 @@ SRS_DOMAIN={{ mail_srs_domain }} # If a domain name starts with a dot, it matches all subdomains, but not # the domain itself. Separate multiple domains by space or comma. # -SRS_EXCLUDE_DOMAINS=.{{ mail_domain }} {{ mail_domain }} +SRS_EXCLUDE_DOMAINS=".{{ mail_domain }} {{ mail_domain }} {%- for domain in mail_domains %} .{{ domain }} {{ domain }} -{%- endfor %} +{%- endfor %}" # First separator character after SRS0 or SRS1. # Can be one of: -+=