Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Are all cf files used in spamassassin

From: jdow <jdow(at)earthlink.net>
Date: Thu Oct 11 2007 - 13:59:54 EDT


From: <rdyes@monroehosp.org>
Sent: Thursday, 2007, October 11 10:06

>I am a novice with spamassassin. I am having a problem getting my arms
> around several concepts. Here are several questions.
>
> In looking at the local.cf, I see that the threshhold for marking a piece
> of mail as spam is 5. Can I have this mail deleted instead of being sent
> to the user?

SpanAssassin creates scores. Tools like procmail, mailscanner, and others can take that score and handle the spam. For a hospital I'd include the score in the email markup header and let the users redirect the spam as they see fit. I always review it. The markup I use can sort the spam mail by score. I examine at least the low scoring spam to see if any ham got through. I can tell very reliably from the score, subject, and source whether it is spam or not.
===8<---
# How many hits before a mail is considered spam.

required_hits           5.0
rewrite_header Subject     *****SPAM***** _SCORE(00)_ **
===8<---

That gives a three digit spam score with leading zeros. Spam sorts very nicely that way. This habit has saved me a couple real financial transaction emails due to the sender changing its email configuration.

> In the /usr/share/spamassassin directory there are a number of cf files.
> Does spamassassin use all these files as tests as a default setting? If
> not, how do I make sure they are used?

If it has .cf after the file it uses it. The files are used in alphabetical order. I've never tried to confirm that every one is used. I've never seen any indication that one is being skipped. You could run "spamassassin --lint -D" and parse the output for the name of each of the cf files.

{^_^} Joanne Received on Thu Oct 11 14:01:08 2007

This archive was generated by hypermail 2.1.8 : Fri Jul 04 2008 - 12:20:25 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library