Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Bug Report:

It turns out that SpamAssassin is adding a score of 3.2 (FH_DATE_PAST_20XX) to all email going through my mail server (Mac OS X 10.6 Server) because of the above bug.

See log:

Jan  1 09:46:36 /usr/bin/amavisd[25021]: (25021-16) SPAM, <> -> <>, Yes, score=11.101 tag=2 tag2=6 kill=6 tests=[BAYES_99=3.5, FH_DATE_PAST_20XX=3.188, HTML_IMAGE_ONLY_32=1.778, HTML_IMAGE_RATIO_02=0.383, HTML_MESSAGE=0.001, MIME_HTML_ONLY=1.457, RDNS_NONE=0.1, SPF_FAIL=0.693, SPF_HELO_FAIL=0.001], autolearn=no, quarantine fydtn7Bx7ffD (

In the bug the rule is defined in /rulesrc/sandbox/emailed/ however this does not exist on Mac OS X - does any know where this rule is defined on Mac OS X Server? There are no files prepended with 00_ in /usr/share/spamassassin/ which is where I assumed it would be.

share|improve this question
up vote 6 down vote accepted

Well a little patience and it showed up on one of my mailing lists (and now on Apple's KBase: TS3187):


1) Add to /etc/mail/spamassassin.conf

 score FH_DATE_PAST_20XX 0.0


2) Fix the rule in /usr/share/spamassassin/ by replacing the FH_DATE_PAST_20XX line with:

header   FH_DATE_PAST_20XX    Date =~ /20[2-9][0-9]/ [if-unset: 2006]


3) Run sa-update and that will fix it as well. (Thanks to Matthew Bryant)

sudo sa-update --nogpg --updatedir /etc/mail/spamassassin --debug
share|improve this answer
Doesn't this fix merely defer the pain for another 10 years - when it strikes again? – Jonathan Leffler Jan 4 '10 at 8:43
Answer (to my comment/question): yes - that's correct. The SpamAssassin team is aware of it and will fix the problem properly in due course -- see the bug report link in the question. – Jonathan Leffler Jan 4 '10 at 8:48

I had to modify /private/etc/mail/spamassassin/ and then restart the mail service instead.

Updating /usr/share/spamassassin/ did nothing for me.

(Mac OS X Server 10.6.2, pretty much a vanilla install)

share|improve this answer
@James: Odd. My 10.6.2 install only had the in /private/etc/mail/spamassassin and it's a pretty vanilla install. – Chealion Jan 4 '10 at 19:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.