Short test - this is the wrong way to do it, but lets see if the idea
authorStephen Gran <steve@lobefin.net>
Mon, 6 Apr 2009 00:11:45 +0000 (01:11 +0100)
committerStephen Gran <steve@lobefin.net>
Mon, 6 Apr 2009 00:11:45 +0000 (01:11 +0100)
works
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/files/common/exim4.conf
templates/exim-local-auto.erb

index cecdcf5..9380274 100644 (file)
@@ -197,7 +197,7 @@ queue_list_requires_admin = false
 av_scanner = CLAMAV
 .endif
 
-.ifdef HAVE_USER_DEBBUGS MAIL_RELAY
+.ifdef HAVE_USER_DEBBUGS MAIL_RELAY STUPID_FIREWALL
 daemon_smtp_ports = 25 : 587
 .endif
 
index 349d6ed..fa0f4c9 100644 (file)
@@ -46,3 +46,11 @@ USE_TLS = 1
 <% else -%>
 # USE_TLS is undefined
 <% end -%>
+
+# Firewall stuff
+<% if has_variable?("fqdn") && fqdn == "lafayette.debian.org" -%>
+STUPID_FIREWALL = 1
+<% else -%>
+# STUPID_FIREWALL is undefined
+<% end -%>
+