Overview

This is where I will be maintaining my the archive of my SpamAssassin customised rules. Please see the Instructions section below on how to use them.

Current version is dated: Thursday, 11th January, 2007

NOTE

As of November 1, 2004, these rules will be specifically for SpamAssassin 3.x. I will not be maintaining these for earlier versions unless there is enough demand to do so. The main reason for this is that I no longer have any SA 2.6x servers to test with; all my machines now run SA 3.x. Upgrading to SA 3 is highly recommended anyway as it has a number of enhancements, speed-ups and bug fixes.

Number of custom rules: 1282

Change Log:

Full change logs:

Support and Contact

If you have any problems using these rules please either use my personal e-mail page on my main website, or use my e-mail address which is in every rule file.
Sorry for the hassle, but I really don't like publishing my real e-mail address for spam harvesters. Once I get an enquiry from my personal e-mail page, I can then continue the conversation via e-mail anyway, it's only for initial contact :)

Links to downloads:

Instructions:

I have designed these rules to be relatively "modular". Each file within the tar ball has a group of related Spamassassin rules. For instance all the rules that filter based on the from address are in the "local_from.cf" file. In any case, there is a description of each file's purpose at the beginning of the file.

To use with SpamAssassin directly:

  1. Unpack the tar ball into /etc/mail/spamassassin (you may need to create it first)
  2. If you are using spamd, restart it now
  3. If you are NOT using spamd, there is no need to do anything else :-)

To use with MailScanner:

  1. Create /etc/mail/spamassassin if it doesn't already exist
  2. Unpack the tar ball into /etc/mail/spamassassin
  3. Add the following to your MailScanner.conf file:
    SpamAssassin Local Rules Dir = /etc/mail/spamassassin
  4. Restart MailScanner*
    * As MailScanner routinely restarts itself this may not be necessary unless you want those new rules now!

Resources for MailScanner

The following scripts were written for MailScanner running on FreeBSD or Linux but can be easily modified for basically any *nix. See the scripts themselves for more info. They are heavily commented so make sure you read them - you have been warned! If you find any bugs, or modify these scripts to work with your flavour of *nix, I'd be happy to hear from you and host them here with due credit etc. See previous section about how to contact me :-) Also if you have any other useful scripts that you'd like to make available I'd like to hear from you too!

Licensing:

(What a pain) All the rules, files etc in the tar balls are licensed under the GPL. You are free to distribute, copy, modify etc, the rules and the associated files provided the license notice remains and a copy of the GPL is redistributed as well. (At least that's how I read the GPL)

Disclaimer:

The usual "no warranty given or implied" applies to all my rules. If they work for you, then that's just super :) If they jump up and eat your dog, cause your girlfriend to leave you, make you car explode or e-mail to disappear then don't blame me - it's up to you to test these rules for suitability to your own mail setup. Specifically my rules really punish anything that looks vaugely medical in content. Administrators working for medical institutions should audit these rules VERY carefully!

Site Stats:

Taken down due to referrer spam. Even though I'd put in place various filters to combat it, the spammers persisted, so I took it down. I just couldn't be bothered. Sorry.

Page Updated: 11-Jan-2007
All materials (unless otherwise stated) ©Copyright James Gray 2004-2007