From a21d93fcd795b1b7b63d5dc867befc09e368d44b Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Mon, 6 Apr 2009 01:11:45 +0100 Subject: [PATCH] Short test - this is the wrong way to do it, but lets see if the idea works Signed-off-by: Stephen Gran --- modules/exim/files/common/exim4.conf | 2 +- templates/exim-local-auto.erb | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/exim/files/common/exim4.conf b/modules/exim/files/common/exim4.conf index cecdcf50..93802745 100644 --- a/modules/exim/files/common/exim4.conf +++ b/modules/exim/files/common/exim4.conf @@ -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 diff --git a/templates/exim-local-auto.erb b/templates/exim-local-auto.erb index 349d6ed3..fa0f4c92 100644 --- a/templates/exim-local-auto.erb +++ b/templates/exim-local-auto.erb @@ -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 -%> + -- 2.39.2