From 5421462b39a5b41014569af59d3861b9ffe8a44f Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 03 Sep 2009 10:50:30 -0400
Subject: [PATCH] Merged revisions 1335-1355

---
 install/tpl/mailfilter.master |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/install/tpl/mailfilter.master b/install/tpl/mailfilter.master
index 8588b14..5ff932f 100644
--- a/install/tpl/mailfilter.master
+++ b/install/tpl/mailfilter.master
@@ -10,6 +10,17 @@
 SENDER="$5"
 DEFAULT="{dist_postfix_vmail_mailbox_base}/$HOST/$USER/."
 
+# Workaround for broken tolower function in some current fedora releases
+
+if(!$USER)
+{
+  USER=$3
+}
+if(!$HOST)
+{
+  HOST=$4
+}
+
 if ( "$EXTENSION" ne "" )
 {
   DELIMITER="+"

--
Gitblit v1.9.1