Gentoo Archives: gentoo-user

From: Ryan Viljoen <ravilj@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Improving SpamAssassin's accuracy...
Date: Sun, 15 Jan 2006 10:19:26
Message-Id: deb20110601150215l37ffe79bl532c6b59352aca21@mail.gmail.com
In Reply to: [gentoo-user] Improving SpamAssassin's accuracy... by Stroller
1 I had a similar problem with a school's mail system. I setup spam
2 assasin but found it identified the same nicely but didnt do any thing
3 about it. Now there are a few things that you particularly dont want
4 such as penixensizer and viagra and such...
5
6 What I landed up doing is defining a set of my own rules that detected
7 if penis, viagra, slut and such words occured it added a +10.0 to the
8 spam assassin rating so if is clearly identified as spam.
9
10 I then editted /etc/procmailrc file:
11 # send mail through SpamAssassin
12 :0 fw
13 * < 256000
14 | /usr/bin/spamc -f
15
16 :0:
17 * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*
18 {
19 EXITCODE=67
20 :0:
21 /dev/null
22 }
23
24 So any mail with a spam level greater or equal then 10.0 gets sent
25 into the ether and the sender gets a mail back saying email address
26 does not exist. This ruthless method has reduced the spam
27 considerably.
28
29 What you really should do with spam assassin is move all the mail that
30 is flagged as spam to the users spam folder and let them sort it out
31 but in a school environment /dev/null is a lot more suitable.
32
33 Cheers
34 Rav
35 --
36 Ryan Viljoen Bsc(Eng) (Electrical)
37
38 "Facts are stubborn things, but statistics are more pliable."
39 - Mark Twain
40
41 --
42 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Improving SpamAssassin's accuracy... Stroller <stroller@××××××××××××××××××.uk>