I had a similar problem with a school's mail system. I setup spam
assasin but found it identified the same nicely but didnt do any thing
about it. Now there are a few things that you particularly dont want
such as penixensizer and viagra and such...

What I landed up doing is defining a set of my own rules that detected
if penis, viagra, slut and such words occured it added a +10.0 to the
spam assassin rating so if is clearly identified as spam.

I then editted /etc/procmailrc file:
# send mail through SpamAssassin
:0 fw
* < 256000
| /usr/bin/spamc -f

:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*
{
EXITCODE=67
:0:
/dev/null
}

So any mail with a spam level greater or equal then 10.0 gets sent
into the ether and the sender gets a mail back saying email address
does not exist. This ruthless method has reduced the spam
considerably.

What you really should do with spam assassin is move all the mail that
is flagged as spam to the users spam folder and let them sort it out
but in a school environment /dev/null is a lot more suitable.

Cheers
Rav
--
Ryan Viljoen Bsc(Eng) (Electrical)

"Facts are stubborn things, but statistics are more pliable."
  - Mark Twain

-- 
gentoo-user@gentoo.org mailing list

Reply via email to