Template local_domains
Change-Id: Ie6ac9e87b69b93b6e121dad8ceae5fde7931877a
This commit is contained in:
parent
1cc47e04d0
commit
f7ecbeb03c
@ -21,6 +21,7 @@
|
||||
# http://www.exim.org/exim-html-current/doc/html/spec_html/index.html
|
||||
|
||||
class exim(
|
||||
$local_domains = '@',
|
||||
$mailman_domains = [],
|
||||
$queue_interval = '30m',
|
||||
$queue_run_max = '5',
|
||||
|
@ -56,8 +56,7 @@ CONFDIR = <%= scope.lookupvar('exim::params::conf_dir') %>
|
||||
# +local_domains, +relay_to_domains, and +relay_from_hosts, respectively. They
|
||||
# are all colon-separated lists:
|
||||
|
||||
domainlist local_domains = @<% if @mailman_domains.length > 0 -%>:<%= @mailman_domains.join(":") %><% end -%>
|
||||
|
||||
domainlist local_domains = <%= @local_domains %><% if @mailman_domains.length > 0 -%>:<%= @mailman_domains.join(":") %><% end -%>
|
||||
domainlist relay_to_domains =
|
||||
hostlist relay_from_hosts = 127.0.0.1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user