From a3bc279899af3c06bbe4fd778e57cbc5e9270cf3 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Tue, 22 May 2012 13:01:01 -0700 Subject: [PATCH] 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 --- templates/exim4.conf.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/exim4.conf.erb b/templates/exim4.conf.erb index edf7b2e..a29b1cf 100644 --- a/templates/exim4.conf.erb +++ b/templates/exim4.conf.erb @@ -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