It’s easy to make errors that prevent spam from being blackholed. (An earlier post, described how to blackhole spam with email filters.) Several people recently swore to me that SpamAssassin was broken. I checked the email filters they had set up and found some peskly self-inflicted problems. Here’s the problem so that you can hopefully avoid wasting time figuring out what is wrong.
On the email filter page, cPanel says: “Hint: To filter all mail that SpamAssasin has marked as spam, just choose “SpamAssassin Spam Header”, “begins with”, and then enter “Yes” in the box.”
In fixing theare some of the wrong entries I found for “Yes” that had been typed into the box:
What was entered: “Yes” Should have been: Yes (do not type the quotes into the box!)
What was entered: yes Should have been: Yes (only first letter is capitalized, Unix is case-sensitive)
What was entered: YES Should have been: Yes (only first letter is capitalized, Unix is case-sensitive)
These are easy mistakes to make because we’re always in a hurry. I was a hero several times for quickly “fixing” SpamAssassin quickly. Upon being told that SpamAssassin was “broken,” I could have spent hours diving into all sorts of things on the server. Fortunately, I had checked the filters first. Hope this saves someone time and avoids a big headache.


