May 27, '03 08:47:00AM • Contributed by: DaveCC
This is a nice compliment to the built in Junk Filter which can occasionally miss new variants of spam that others have already discovered and reported to a RBL. You can think of this as a way of tapping into the insight of a larger pool of spam screeners beyond yourself. Just create a new filter that uses the following rules:
If [All] of the conditions are met: [Sender is not in my Address Book] Perform the following actions: [Run Apple Script]On the last step, you'll be asked to choose the location where you've saved the script. Ideally, you would prioritize this filter below the built in Junk filter in case it misses a spam that is otherwise known to the black lists (as defined in the AppleScript). For testing purposes (to make sure it is working well), you can put it above the built in Junk filter in the filter processing order to better keep tabs on what it is catching.
[robg adds: I've been running this script for a few hours now, and it's quite impressive. I usually receive anywhere from 150 to 200 spams a day, with Mail catching about 80% to 90% of them. Unfortunately, that means anywhere from 15 to 40 or so junk mails left in my inbox.
I've received about 20 since installing SpamHolio, and between it and Mail's junk filter, not a one has made it into my inbox! Read the rest of the article for some important information on customizing the filter. In addition, you'll have to edit the script if you have renamed you Junk Mail box (I have renamed mine to "zzz Junk," so it drops to the bottom of the list).]
User definable options (requires editing of the SpamHolio AppleScript):
- If you would like not to be prompted with a dialog box that an email has matched a RBL entry, just set the PromptLevel to 0 (zero).
- If you would like to add additional RBL's to check each new email against, just add the RBL's URL to the list defining BlackListsToCheck. I have only tested this script using the three in the script source, so use of other RBL's may require additional changes to the nslookup output parsing code.
If you really like this AppleScript, please contribute some money to worthy organizations like SpamCop or C.A.U.S.E. or some of the other valiant anti-spam organizations out there.
