Removing mails spam-scored over 10

I am using SpamAssassin 3.1.x on Linux.
Now, all mails with spam score over five (5) are marked as spams (so simple configuration). Further more, I would like to remove permanently all mails with score over ten (10).

Here is content of /etc/procmailrc to do that:

DROPPRIVS=yes
MAX_SCORE=10.00
MIN_SCORE=5.00
:0fw
| /usr/bin/spamc
:0
* ^X-Spam-Status:.*score=\/[0-9\.]+
{
## if spam score is > MAX_SCORE, trash it
:0
* $ -${MAX_SCORE}^0
* $ ${MATCH}^0
/dev/null
## else if spam score is > MIN_SCORE, send it to spam folder
:0E:
* $ -${MIN_SCORE}^0
* $ ${MATCH}^0
$DEFAULT
}

Leave a Reply

  

  

  


1 + three =

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

AddThis Social Bookmark Button
AddThis Feed Button
Gop da xay Truong Sa

533
Unique Visitors
TODAY
Powered By Google Analytics

Get Zimbra email and collaboration server, hosted business email
Windows 7 Sins
This work is licensed under a

Creative Commons License