hi everybody,
i just figured out that we have to use deliverquota in out maildrop-filter
and quotas do work, again ;))
--- cut --- --- cut --- --- cut --- --- cut --- --- cut --- ---
ut --- --- cut --- --- cut ---
SHELL="/bin/sh"
VHOME="$PWD/Maildir"
USERNAME=`echo ${PWD##*/}`
USERHOST=`PWDTMP=${PWD%/*}; echo ${PWDTMP##*/}`
logfile "mailfilter.log"
if ( $SIZE < 262144 )
{
exception {
xfilter "/usr/bin/spamc -f -u [EMAIL PROTECTED]"
}
}
if (/^X-Spam-Flag: *YES/)
{
exception {
include $VHOME/.mailfilter
}
`test -d $VHOME/.Spam`
if( $RETURNCODE == 1)
{
`maildirmake -f Spam $VHOME`
}
exception {
xfilter "/usr/bin/deliverquota -w 90 $VHOME/.Spam"
}
}
exception {
include $VHOME/.mailfilter
}
# default delivery
exception {
xfilter "/usr/bin/deliverquota -w 90 $VHOME"
}