tbrehm
2011-07-25 ed30c60150ffda0301eb1f8d30c93cac94de41df
install/tpl/mailfilter.master
@@ -5,10 +5,21 @@
LOGNAME=tolower("$LOGNAME")
EXTENSION="$1"
RECIPIENT=tolower("$2")
USER="$3"
HOST="$4"
USER=tolower("$3")
HOST=tolower("$4")
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 "" )
{
@@ -46,7 +57,7 @@
}
# Create a mailsize file
`echo $SIZE >> {dist_postfix_vmail_mailbox_base}/$HOST/$USER/.ispconfig_mailsize`
`echo $SIZE >> {dist_postfix_vmail_mailbox_base}/$HOST/$USER/ispconfig_mailsize`
#