Screen shots

Junk Email Filter

Security Notice
Phishing campain
Version 1.4.15
Security Upgrade
Plugins - Spamrule (simple, flexible mail filter config)
Category: Filters & Spam

Spamrule gives users an Options page to configure their own set of spam filters based on maildrop or procmail filters provided by the site admin. The filters can be grouped however you like (e.g. "no filters", "loose filters", and "strict filters") so that users can just choose a group, or users can choose to select from any of the filters to create their own group if they like. There are also mechanisms to edit lists that the filters use -- e.g. a filter might only allow email from certain senders, then the list editor page would let them maintain that list of senders. It's designed to initially appear as simple as Hotmail's filters, but it provides much more flexibility if the user wants it.

Version 0.5
by O'Shaughnessy Evans on Sep 14, 2007
[ spamrule-0.5-1.2.10.tar.gz tarball (10141 d/l) Help ]
Requires: squirrelmail 1.2 or newer, compatibility 2.x plugin


No real features have been added since 0.4, but the plugin should be easier to maintain with the addition of support for config_local.php, which will override config.php. It should also run somewhat faster because the translation support is less inefficient.


  • tested on squirrelmail 1.4.10 and 1.5.1
  • made the translation support much more sensible
  • resolved all the PHP warnings I could find
  • added compatibility plugin back in, using compatibility 2.x now.
  • added example files: config.php.ex and config_local.php.ex, and the ability to override config.php in config_local.php. Extracting the plugin into your installation dir will no longer overwrite your old config.php.

Older versions

Version 0.4
by O'Shaughnessy Evans on Sep 12, 2007
[ spamrule-0.4-1.4.tar.gz tarball (5014 d/l) Help ]
Requires: squirrelmail 1.4 or newer

- updated code to follow recommended standards for squirrelmail plugins based on guidelines at http://squirrelmail.org/docs/devel/devel-2.html
- added support for translations (but there are no translations available yet)
- fixed a bug in the list editor where it couldn't add new entries to a file if the file didn't already exist

Version 0.3
by O'Shaughnessy Evans on Oct 3, 2003
[ spamrule-0.3-1.2.10.tar.gz tarball (11545 d/l) Help ]
Requires: SquirrelMail 1.2.10, FTP access to user homes, a mail filter like maildrop or procmail

Description: - added support for squirrelmail 1.4
- added a "Spam Rules" entry to the menuline (top of right frame)
- switched from reading $GLOBALS, $_GET, etc., to using sqgetGlobalVar
- cleaned up the UI a little
- fixed a bug where backslashes could start to grow exponentially in the maildrop list files
- switched config.php defaults from supporting qmail to sendmail/postfix (syntax of the .forward file is slightly different than .qmail)
- included sample maildrop filter rules

Version 0.2
by O'Shaughnessy Evans on May 12, 2003
[ spamrule-0.2-1.2.10.tar.gz tarball (6360 d/l) Help ]
Requires: SquirrelMail 1.2.10, FTP access to user homes, a mail filter like procmail or maildrop

Description: First public version.

If you have problems with the download or decompressing...
Internet Explorer
Right-click on the file, then select "Save Target As"
Firefox, Mozilla, Netscape
Right-click on the file, then select "Save Link As"
Right-click on the file, then select "Save Link Document As"
Lynx and Links
Press "d" on the link to download the file directly.
  • Untarring problems: Your browser might have un-gzipped it for you automatically. Try just "tar xvf" instead of "tar xvfz". Also, the plugins archive isn't gzipped (it is a tarball of .tar.gz files)
  • Macintosh users: Just hold down your mouse button to get the menu instead of right-clicking.
  • If all else fails, seek our help
© 1999-2016 by The SquirrelMail Project Team