From c567dd5d6fe92e17f6328c0958dc7149b3f86d59 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 --- modules/exim/templates/exim4.conf.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/exim/templates/exim4.conf.erb b/modules/exim/templates/exim4.conf.erb index edf7b2e266..a29b1cfac0 100644 --- a/modules/exim/templates/exim4.conf.erb +++ b/modules/exim/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