Include mailman domains in local domains.

The local hostname is included in local_domains by default,
but in case we're hosting mailman domains other than the local
hostname, include them.

Change-Id: I733b8fe8cacc2cfd2d7a0d33236ed9e2273c15da
This commit is contained in:
James E. Blair 2012-05-22 13:01:01 -07:00
parent 1cbba7502c
commit a3bc279899
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ CONFDIR = /etc/exim4
# +local_domains, +relay_to_domains, and +relay_from_hosts, respectively. They
# are all colon-separated lists:
domainlist local_domains = @
domainlist local_domains = @<% if mailman_domains.length > 0 -%>:<%= mailman_domains.join(":") %><% end -%>
domainlist relay_to_domains =
hostlist relay_from_hosts = 127.0.0.1