hostlist reservedaddrs = <%= nodeinfo['reservedaddrs'] %>
<%= out = ""
-if has_variable?("exim_ssl_certs") && exim_ssl_certs == true
+if has_variable?("exim_ssl_certs") && exim_ssl_certs == "true"
out = "tls_certificate = /etc/exim4/ssl/thishost.crt
tls_privatekey = /etc/exim4/ssl/thishost.key
tls_try_verify_hosts = *
out = "daemon_smtp_ports = "
ports << 25
-if results['bugsmaster']
+if nodeinfo['bugsmaster']
ports << 587
end
-if not results['mail_port'].empty?
- ports << results['mail_port']
+if not nodeinfo['mail_port'].to_s.empty?
+ ports << nodeinfo['mail_port']
end
-if results['mailrelay']
- ports << results['smarthost_port']
+if nodeinfo['mailrelay']
+ ports << nodeinfo['smarthost_port']
end
out += ports.uniq.sort.join(" : ")
pipelining_advertise_hosts = !*
<%= out = ""
-if has_variable?("exim_ssl_certs") && exim_ssl_certs == true
+if has_variable?("exim_ssl_certs") && exim_ssl_certs == "true"
out = 'tls_advertise_hosts = *'
end
out
<%=
out = ""
-if results['mailrelay']
+if nodeinfo['mailrelay']
out = " accept verify = certificate"
end
out
<%=
out = ""
-if results['mailrelay']
+if nodeinfo['mailrelay']
out = " accept verify = certificate"
end
out
<%=
out = ""
-if results['mailrelay']
+if nodeinfo['mailrelay']
out = " accept verify = certificate"
end
out
<%=
out = ""
-if results['mailrelay']
+if nodeinfo['mailrelay']
out = '
relay_manualroute:
driver = manualroute
<%=
out = ""
-if not results['smarthost'].empty?
+if not nodeinfo['smarthost'].empty?
out = '
smarthost:
debug_print = "R: smarthost for $local_part@$domain"
driver = manualroute
domains = !+handled_domains
transport = remote_smtp_smarthost
- route_list = * ' + smarthost + '
+ route_list = * ' + nodeinfo['smarthost'] + '
host_find_failed = defer
same_domain_copy_routing = yes
no_more
# the virts, and delivering to them. blah.
<%=
out = ""
-if results['packagesmaster']
+if nodeinfo['packagesmaster']
out = '
# This router delivers for packages.d.o
packages:
<%=
out = ""
-if results['bugsmaster']
+if nodeinfo['bugsmaster']
out = '
# This router delivers for bugs.d.o
bugs:
<%=
out = ""
-if results['rtmaster']
+if nodeinfo['rtmaster']
out = '
# This router delivers for rt.d.o
rt_force_new_verbose:
# - rt+NNNN@rt.debian.org : attach correspondence to ticket (verbose)
# - rt+NNNN-quiesce@rt.debian.org : attach correspondence to ticket (quiesce)
# - rt+NNNN-<action>@rt.debian.org : attach correspondence to ticket (some action)
-# requires modification to custom condition in 'scrips'
+# requires modification to custom condition in \'scrips\'
rt_force_new_quiesce:
debug_print = "R: rt for $local_part+new-quiesce@$domain"
driver = redirect
driver = smtp
<%=
out = ""
-if not results['smarthost'].empty?
- out += " port = " + results['smarthost_port'] + "\n"
+if not nodeinfo['smarthost'].empty?
+ out += " port = " + nodeinfo['smarthost_port'] + "\n"
end
if has_variable?("exim_ssl_certs") && exim_ssl_certs == "true"
<%=
out = ""
-if results['bugsmaster']
+if nodeinfo['bugsmaster']
out = '
bugs_pipe:
driver = pipe
<%=
out = ""
-if results['rtmaster']
+if nodeinfo['rtmaster']
out = '
rt_pipe:
debug_print = "T: rt_pipe for $local_part${local_part_suffix}@$domain"