Solved

Spamassassin Custom Rules

Posted on 2008-10-24
3
595 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ransomware continues to be a growing problem for both personal and business users alike and Antivirus companies are still struggling to find a reliable way to protect you from this dangerous threat.
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

739 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