procmail
[Top] [All Lists]

Fixing a rule

2004-01-28 13:31:06
Hello,

I have a rule like this:

:0HB
* -1000^0
* 400^0 ^Subject[ ]*:.*(\<porn\>|\<cum\>|penis|viagra|free( )*sex|enlargement( )*pill)
*   900^1 penis( )*$?^?enlargement
*   900^1 enlargement( )*$?^?pill
*   900^1 MILF( )*$?^?Rider
*   900^1 paris( )*$?^?hilton( )*$?^?video
*   900^1 Porn( )*$?^?(Sharing)?( )*$?^?Software
*   900^1 (fuck|rape)( )*$?^?(this|that)( )*$?^?(pretty|little)?( )*$?^?slut
* 300^1 (\<porn\>|\<cum\>|penis|viagra|schoolgirl(s)?|fuck|cock|orgy|incest|rape|anal|asian( )*$?^?(babe|girl)|\ bestiality|gangbang|blowjob|puss(y|ie)|(Best|multiple)( )*$?^?Orgasm|e-r-e-c-t-i-o-n)
 {
 NKPRNS=$=
 LOG="---=== PORN SCORE:$NKPRNS $DATE ===---${NL}"

 :0fhw
 | formail -i "Subject: WARNING-PORN-SCORE:$NKPRNS-$SUB"

 :0:
 $PORNDIR
 }
}
}


What changes should I do, to do the next:
if score is under 300 let it go normaly
admin must recibed a copy and normal user too

thankx

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>