<< Updated 21.12.08! >> (~Chactory)
There have been many questions about what order you should place the plugins in with Spami. Bob, and many others, have given out some very good advise throughout the forum. I want to distill the overall advise into one thread, and in particular, add my own additional rules onto what has already been discussed so far.
The general rule of thumb is:
1) Filters which detect non-spam only go highest/first - everyone agrees on that
2) Second, you'll find two schools of thought come out of the forum:
School 1:
* Filters which detect spam only go second, followed by filters which classify emails into spam and non-spam going last
School 2:
* Filters which classify emails into spam and non-spam go second, followed by filters which detect spam only going last
You'll find threads espousing both schools of belief in different threads already, so I won't go over that.
Filter Sequence - according to Zaxon
I'll add some extra things to consider when prioritizing your filters. This doesn't so much contradict what I've stated above, rather than to put a slightly different spin on it.
1. Filters which classify non-spam and which you believe are 100% safe go at the top
This is almost the same as the general rule above, except that I have added the "and which you believe are 100% safe" portion. Not all non-spam only filters are necessarily right for this category. See the safety concern below.
2. Safety Filters go first
There are certain filters that actually protect your safety. These are filters which look for harmful scripts, web bugs which actually report back that you've opened an email and therefore confirm your email address etc. These are real safety concerns, whereas emails which contain the phrase "buy * POLICY VIOLATION ! *" might be annoying, but they don't actually pose a threat.
Filters that contain safety checks are: Scripts Filter, Attachment Filter, Hercule Filter, Image Filter (web bugs), and there may be some others.
For instance, you probably don't want a message about your favourite pop star or TV program if, unbenowns to you, it also will run an Active-X script, and report back to base that you've opened it. It fact, I found out that several of the newsletters I was reading reported back to base. Thank you Hercule Filter for alerting me to this. So, I've chosen to block all mail that does this.
3. The filter type which is most accurate goes next
Assuming you have the Filter Statistics Plugin installed, you'll find from the [General Statistics] the figures for False-Positives and False-Negatives.
It makes a world of sense to put the filter type that has been the most accurate for you, first.
So if your False-Positives % is very low and your False-Negatives % is far higher, then put the filters which classify spam first (blacklist, DCC etc), and your less accurate filters which classify non-spam (learning, URL) last.
If your False-Negatives % is lower than your False-Positives %, then the filters doing the most accurate job are your Non-Spam detecting filters or Spam/Non-Spam filters (Learning, URL). Put your less accurate filters that classify spam-only (blacklist, DCC etc) last.
You do this because, like me, you insist on spami giving you the most accurate results possible. So honour the most accurate filter type by promoting filters of that type up the list, and the less accurate filter type by placing them down the list.
4. Filters which give false-positives get an instant demotion
You know if you were to have a noisy, personal phone conversation at work, people may raise their eyebrows, but if you started stealing money from the company you'd get fired?
False Negatives, spam which isn't recognized but is let through, is something to raise your eyebrows about.
False Positives, good emails that get stopped and labelled as spam, means that somebody deserves to be summoned to the principal's office to get the strap. Somebody has to * POLICY VIOLATION ! *!
If a filter incorrectly marks good emails as spam, instantly demote it down your priority list. You want to stamp out this behaviour as quickly as possible. Note, some filters are configurable. So, delete that blacklist that triggered a false-positive. If 10 <html> tags caused a spam rating in Hercule on a good email, up it to 20, etc. When a filter reaches the bottom of the priority list and stays there for a while, meaning it's consistently inaccurate, it's probably time to permanently delete it.
5. Highly effective filters get promoted up the list
If one of your filters catches 60% of spam, while another only catches 5%, promote the 60% filter up the list. Why? Because you should have the filters which catch the most spam first in line, so that spam is caught as soon as possible. If an email does reach the lazy filter that catches only 5%, then its a rarer occurance. You want spami to run as quickly as possible, so catch the spam emails as high up in the filter chain as possible. Remember, spam which is caught stops immediately, and doesn't have to pass through any of the subseqent filters.
And if you're feeling sorry for those filters that only catch 1 or 2 percent, and they tell you, with there big puppy dog eyes, that "if only they were given the chance, they could be a star performer too..." This might well be true, but it's better to have one filter catching 90% of spam than 9 filters catching 10% of the spam each.
6. Lazy filters get sacked
If you find that there are filters that never seem to catch anything over a period of time (months), give them the sack - delete them. Why? Because we all want spami to process mail as quickly as possible, if a filter is failing to perform on a consistent basis, you should delete it. Think of all the collective minutes you have waited for emails to be processed by that filter, that doesn't seem to be catching any spam anyway. Perhaps you have redudant filters: a filter higher up in the list that's already doing the job. Or perhaps you have a poorly coded filter that doesn't seem to match the author's expectations when placed in the real word. Say to your lazy filters, "You're fired!"
That's about it. Every experienced user of Spami will have their own believes on how filters should be ordered. These are mine. I've explained them particularly, because they add a bit more insight beyond the common whitelist > grey lists > black lists way of looking at things.
Anyway, something to think about.


