Solved

Spamassassin Custom Rules

Posted on 2008-10-24
3
590 Views
Last Modified: 2013-12-09
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
Comment
Question by:Julian Matz
  • 2
3 Comments
 
LVL 21

Accepted Solution

by:
robocat earned 500 total points
ID: 22808950

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
 
LVL 21

Author Comment

by:Julian Matz
ID: 22809624
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
 
LVL 21

Expert Comment

by:robocat
ID: 22810616

>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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Forget those services on TV trying to sell you software – that’s step one.  Almost all of the software you need should be available for free.  The tricky part is doing the work.  If you are not comfortable performing these steps yourself, contact a …
Operating system developers such as Microsoft (https://www.microsoft.com) and Apple have made incredible strides in virus protection over the past decade. Operating systems come packaged with built in defensive tools such as virus protection and a f…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now