Hebrew SpamAssassin Rules ;)

What is this?

This is an effort to write rules for SpamAssassin to detect Hebrew and Israeli spam.

Spam is becoming one of the most annoying things about the Internet, and SpamAssassin is an open-source project that scans email messages for spam, and tags it with a score according to the Spam level. For more info about SpamAssassin go to www.spamassassin.org
Good idea! where are the rules and what the **** do I do with them?

First of all you should have a working setup of SpamAssassin, After you have something like that, you can download the rules files and put them in your system-wide SpamAssassin dir, eg: /usr/local/etc/mail/spamassassin and make them world readable (chmod a+r filename), after that you must restart spamd, amavisd or whatever you use to run SpamAssassin.

hebrewspam.cf contains the Hebrew text message rules.
israelieviluri.cf contains rules regarding Israeli and Hebrew spam that do not require Hebrew text processing. These are mostly URI rules with Israeli web sites known to be used in spam, some "evil" Israeli phone numbers and more.

These two links will always point to the most updated version!
If you want your copy to be automaticlly synced with the latest version you can use rules_de_jour.

If you choose to use it, you will have to add lines similar to the lines in this file to your rules_de_jour script.
Don't forget to add HEBREWSPAM and ISRAELIURI to the TRUSTED_RULESETS list in the top of the script.

A third, optional file is hebrewspamhtml.cf
This file contains the exact rules that hebrewspam.cf does (with different names) but is intended to catch Hebrew HTML strings. Statistically, at least 95% of all Hebrew messages are coded in ISO-8859-8 (or Windows-1255) and hebrewspam.cf should be good enough for them.
This additional file is meant to help you catch these few messages that are in HTML. Use it if you think it's worth the extra work SA will have to do. FYI, this file is generated by the following simple `sed` script: hebrew2html.sed
WOW, I'm impressed, how can I help this project?

Helping this project is a very good way to keep it alive and efficient, it won't survive without your help...

There are few ways in which you can help:

  • Use the rules, see how they work and send us comments.
  • After you'll learn the syntax, write new rules and send them to us.
  • Get Hebrew and Israeli Spam so we can analyze it and write even more rules. Forward the spam to hebrewspam@deltaforce.net (include full headers if possible).

  • if you want to help, please subscribe to our mailing list at: http://aftershock.co.il/mailman/listinfo/hebspam
    License

    These rule files are in the public domain which means that you can do whatever you want with them.
    The use of these rule files are at your own risk! Enjoy :)

    Our Policy



    Valid HTML 4.01! Valid CSS!