Problem with SpamAssassin

PeterJ

Verified User
Joined
Jun 15, 2007
Messages
10
I installed SpamAssasin and set it up in DA, I also use Spam Filter option in DA.

The problem is that if someone send me an email which contains any adult word in the body and a regular subject then it will not go to the Spam box, but if that email contains any adult word in the subject and no matter the body has adult word or not it will go to Spam box.

How do i send all the emails contain adult word in body to Spam box ?

Any ideas ? Thank you.

By the way, i have Dovecot installed.
 
Last edited:
From what I have read about SpamAssassin, it has very limited abilities when it comes to filtering 'adult' or 'rude' words, most of which come from rules designed to block adult junk email or viagra/enlargement style emails.

Where I have seen discussions about using SA as a content filter for children or work places, it has generally been agreed as a bad idea due to the high number of false positives it would introduce...

The easiest solution in your case would be to write some rules of your own to give high scores to emails containting a list of prohibited words (make sure that your users are aware of this adult filtering policy!). Emails which attempt to discuise these words (for instance with spaces or numbers instead of letters) will probably be caught by the usual SA rules.

For a brief primer on writing your own SA rules see this page:

http://wiki.apache.org/spamassassin/WritingRules
 
Back
Top