Theo Van Dinter wrote:
Just a fwiw:
:0
* ^X-Spam-Level: \*\*\*\*\*\*\*\*
/dev/null
A maildrop rule for those using maildrop. I have it so that all SPAM is
sent to a .spam folder.
I have this folder set to a max of 50 mail at any given time.
It deletes the oldest mail to make room for new mail.
Quick and dirty hack but my customer liked it.
This could be modified to only delete those above a certain score maybe.
# filter all mail through spamd
#xfilter "/usr/bin/spamc"
#
#if (/^X-Spam-Flag: *YES/)
# {
# `cd $DEFAULT/.spam/new && rm -f \`ls -t | sed -e 1,50d\``
# `test -d $DEFAULT/.spam`
# if( $RETURNCODE == 1)
# {
# `maildirmake $DEFAULT/.spam `
# }
# exception {
# to "$DEFAULT/.spam/"
# }
#}
#
Regards
Mick Pollard
__lunix-aus__