Hi Tom, Francis et all, Thank you for your support.
It's great. I solved the problem. Here is my procmailrc content (some small changes, but your article is very very helpful): 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 } SpamAssassin is great! FOSS is too great!!! :) Kind regards, TUAN, Truong Anh President and CTO, iWay, No 57, Lane 16, Hoang Cau street, Hanoi, Vietnam Phone: 844-514-8140 Handphone: 8490-323-7001 Fax: 844-514-8138 Email: tuanta at iwayvietnam.com Website: www.iwayvietnam.com ----- Original Message ---- From: Truong Anh Tuan <dt...@yahoo.com> To: Hanoi Linux Users Group <hanoilug at lists.hanoilug.org> Sent: Thursday, October 11, 2007 10:00:54 PM Subject: Re: [HanoiLUG] A technical question about Spam filter Thanks Tom, It's so helpful for me in the first look. I will follow its idea to try to reconfigure my Spam filter (SpamAssassin + Procmail) Kind regards, Tuan ----- Original Message ---- From: Tom Lancaster <t...@grubbyconsulting.com> To: Hanoi Linux Users Group <hanoilug at lists.hanoilug.org> Sent: Thursday, October 11, 2007 9:08:02 PM Subject: Re: [HanoiLUG] A technical question about Spam filter On 10/11/07, Truong Anh Tuan <dtanh at yahoo.com> wrote: > > Dear friends, > > 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). > All helps me to configure SpamAssassin to do that are highly appreciated. > http://www.perlcode.org/tutorials/procmail/procmail_cookbook.txt - seems to indicate it's possible using procmail to grab the score and act on it conditionally (in your case the action would be to send message with a score > 10 to /dev/null. HTH, Tom > Also, if SpamAssassin can not or so difficult to do that, could you tell me > other open source alternatives, you know, can do that well (marked as spam > at 5 and remove permanently at 10). > Thanks, > Tuan > _______________________________________________ > HanoiLUG mailing lists: http://lists.hanoilug.org/mailman/ > HanoiLUG wiki: http://wiki.hanoilug.org/ > HanoiLUG blog: http://blog.hanoilug.org/ > _______________________________________________ HanoiLUG mailing lists: http://lists.hanoilug.org/mailman/ HanoiLUG wiki: http://wiki.hanoilug.org/ HanoiLUG blog: http://blog.hanoilug.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.hanoilug.org/pipermail/hanoilug/attachments/20071011/1e6ff12e/attachment.htm