öh , ja

I shoudnt try to be so quick sorry forget a : and have a false $

#


u can use with procmail $VAR a treshhold

VERBOSE=ON
# setting the level
#trash
TLVL="-10"
#quarantine
QLVL="-4"
#maybe spam
MLVL="-2"
SL="0"

# counting stars

:0
* H  ?? ()^X-Spam-Level: \/[*]+
{ SPAMLEVEL=$MATCH }


:0
* 1^1 SPAMLEVEL ?? ()\*
{ } SL = "$="


# with this you sort the mail in MBOX files

:0
* $ $SL^0 ^^^^
* $ $TLVL^0 ^^^^
/dev/null

:0:
* $ $SL^0 ^^^^
* $ $QLVL^0 ^^^^
/var/mail/quarantine

:0:
* $ $SL^0 ^^^^
* $ $MLVL^0 ^^^^
/var/mail/maybespam

#the rest let pass



Matthias










Reply via email to