• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 617
  • Last Modified:

Spamassassin Custom Rules

Hi!

Normally Spamassassin works quite well, but sometimes for a certain period (including now), I'm hit with an unusual amount of spam that SA doesn't score high enough (5) to get filtered.

Anyway, my problem is that it's taking me too much time to write custom rules, so my question is: is there any site where I could do a search for certain keywords that would list relevant rules, which I could then copy and paste into my /etc/spamassassin/local.cf ?

I know about SARE but I think this might be overkill and I don't want to risk false positives. Usually the spam I get is of a fairly specific type so I would have more control if I was able to paste single custom rules specific to the spam I get into my local.cf file.

0
Julian Matz
Asked:
Julian Matz
  • 2
1 Solution
 
robocatCommented:

Nobody wants to manually keep their SA up to date, so I doubt you'll find what you're looking for. The closest you might find are these custom rulesets, e.g. for French spam:

http://wiki.apache.org/spamassassin/CustomRulesets

As far as SARE is concerned: most SA administrators see these rules as the minimum you need to get a good performing SA system, not as overkill. You shouldn't get many false positives, so you don't hesitate to use them.



0
 
Julian MatzJoint ChairpersonAuthor Commented:
Thanks for your response.

The problem I have is with a couple of very specific spam types. Two examples are the "Why work hard, buy your dip1oma/bacheloor degreees bla bla" and the spaces.live.com spam. Other than a few annoying things SA seems to be working very well so I though manually updating the rules every 6 months or so wouldn't be too bad. I am on Debian so I usually use apt-get and sa-update to update rules etc.

Do you know off-hand where downloaded custom rulesets go so that they are read by SA if I just get a couple from SARE or the linked ones on apache.org?
0
 
robocatCommented:

>Do you know off-hand where downloaded custom rulesets go so that they are read by SA if I just get a couple from SARE or the linked ones on apache.org?

You can put them in the same directory as the standard rules.

0

Featured Post

Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now