Get Mail to use ISP's non-standard spam headers

Apr 01, '04 10:37:00AM

Contributed by: lestmak

Mail already has an option in the Junk Mail preferences to trust your ISP's junk mail headers. However, if they're non-standard, then they may not be recognised. It occurred to me when a few messages slipped the net that whilst I hadn't signed up to my web host's spam protection service that their server may still put in spam headers into messages. To my surprise, this was indeed the case, as can be seen in a snippet below:

X-Spam-Score: 5.4 (+++++)
X-Spam-Flag: YES
X-Spam-Report: Spam detection software, running on the system
        "xxxxxx.xxxxx.xx.xx", has identified this incoming email
        as possible spam.  The original message has been attached
        to this so you can view it (if it isn't spam) or block
        similar future email.  If you have any questions, see the
        administrator of that system for details.
So all I had to do then was to go to Advanced... in the Junk Mail preference pane, add a new header for X-Spam-Flag, set it to contain YES, and that's it. Of course, you can do the same for any other header you choose.

Comments (11)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20040327065638757