AntiSpam version 1.63 (15-02-2012) - 394K - MD5 checksum: f7da701134c304e05003a75322ea5d8f
Look here for a list of changes.
This is my adaptation of Dave Higton's spam deleting e-mail fetcher. The original can be found here.
Strictly speaking, version 1.63 is still a bit beta. However, at least one other person and myself have been using the last alpha in the sequence (which was almost identical to this version) without any problems for the last couple of months (/famous_last_words...).
What?
AntiSpam is an application for deleting unwanted e-mail (a.k.a. spam). It can check your POP3 mailboxes and identify spam by looking at the headers of the messages. You can let it download the messages that aren't spam at the same time (preferred) or make it start another fetcher such as POPstar after it has deleted the spam.
Platform
This is a RISC OS program. It should run on any version of the operating system from 3.10.
Dependencies
To run AntiSpam you need SysLog and having StrongHelp on your machine is strongly recommended. If you have RISC OS Select, Adjust or Six, you already have SysLog. Otherwise you may need to pick up a version from Tom Hughes' website. The most recent version of StrongHelp can be found here (apparently, Fred Graute is the de-facto maintainer now...).
Licence
This program is © Dave Higton. It is released under the Free Software Foundation's GNU General Public License (GPL).
Support
If something doesn't work as expected, please report it on the FreeLists mailing list.
Disclaimer
The authors accept no responsibility whatsoever for any loss or damage caused by use of or inability to use this software. In particular, users or potential users should be aware that this program can be expected to delete
e-mails from a server. This is its purpose. If you do not wish e-mails to be deleted, DO NOT USE THIS APPLICATION!
Accessories
Several people have written utilities or instructions for use with AntiSpam. These were written with the original version of AntiSpam in mind and may not work with mine. The following ones have been checked and should be ok.
User Tests
AntiSpam uses a script with rules to decide whether a message is spam or not. Sometimes you'll be faced with messages that cannot be caught by any rule you can create. If you know how to program in BASIC, you can add your own code to deal with that (see the StrongHelp manual for details). If you want other people to benefit from your work, you can send me your User Tests (check the StrongHelp manual for the address, please) and I'll put them on this page, like these:
| name/link | short description |
|---|---|
| alternate_letters | To handle things like t.h.i.s i.s y.o.u.r l.i.f.e. By Harriet Bazley. |
| capitals | To catch headers with mostly capitals. By Harriet Bazley. |
| datespace | In case multiple spaces are used to line up headers. By Harriet Bazley. |
| domain/username | For spam with usernames in From headers that equal domain names in Message-ID headers. By Harriet Bazley. |
| domaincaps | Will catch domainnames in all capitals in From headers. By Harriet Bazley. |
| littlespammed | To accept certain messages by username. By Harriet Bazley. |
| manydigits | For messages with too many digits in certain headers. By Harriet Bazley. |
| repeatedfirstletter | To catch things like 'arty artz artzt aruba'. By Harriet Bazley. |
| threedots | If a header contains at least three dots. By Harriet Bazley. |
| trailingspace | For headers that contain trailing spaces. By Harriet Bazley. |
| twowords | A set of three rules - to be used together - to catch two-word spam. By Harriet Bazley. |
| viagra | A viagra test, concentrating on the 'gra' bit. By Harriet Bazley. |
| weirdinitials | For messages with 'weird' initials. By Harriet Bazley. |
| zeroO | The letter O replaced by the number 0. By Harriet Bazley. |
| support | Supporting code required by (some of) the above. |
| the lot | All the above in one zip. |
Using the tests
Most of the above have some descriptive text in the BASIC file inside the zip. The actual program code in each file is the section starting after the first blank line end ending before the first 'equals/dash'-line or the end of the file, whichever comes first.
The easiest way to add a test to the main UserTests file is loading that file in an editor like StrongED, placing the cursor at the end and dropping the new file (or all of them) in. You can edit out the headers and descriptions, but that isn't strictly necessary (although it will of course make the UserTests file smaller and easier on the eyes...). Alternatively, you can just cut/copy and paste the required bits from the new file to the UserTests file.
Be aware that some of the tests require you to make manual changes to other parts of the UserTests file. I.e. reading the descriptions first rather than just running the lot makes sense.
Strange format
In case you're wondering about the peculiar format of the files in the zips: the next version of AntiSpam will have a 'User Test installer'. Don't panic! Manual installation using cut and paste will always remain possible...