> ## Content Index
> Fetch the complete content index at: https://james.murty.org/llms.txt
> Use this file to discover other available public pages before exploring further.

# spamassassin Y2K10 bug (Mac OS X Server 10.6)
- URL: https://james.murty.org/spamassassin-y2k10-bug-mac-os-x-server-10-6/
- Published: 2010-01-04T20:29:27.000Z
- Updated: 2010-03-23T11:27:15.000Z
- Author: James Murty
- Tags: email, macosx, spam, spamassassin

I noticed a problem this morning with my Mac OS X Snow Leopard Server tagging a lot of new mail as spam in my Inbox by inserting “\*\*\* Junk Mail \*\*\*” into the Subject header when it quite clearly wasn’t. A bunch more was in my Junk folder.

Looking at the header revealed hits like:

> **X-Spam-Status:** No, score=10.994 tagged\_above=2 required=12 tests=\[AWL=-3.518, FH\_DATE\_PAST\_20XX=10.357, FH\_RELAY\_NODNS=1.451, FM\_FORGED\_GMAIL=0.622, FRT\_PROFILE2=1.981, HTML\_MESSAGE=0.001, RDNS\_NONE=0.1\]

Thinking FH\_DATE\_PAST\_20XX=10.357 looked a bit suspect, I did some Googling and found the following blog entry:

[http://serverfault.com/questions/98723/workaround-spamassassin-y2k10-bug-mac-os-x-server](http://serverfault.com/questions/98723/workaround-spamassassin-y2k10-bug-mac-os-x-server?ref=james.murty.org "Mac OS X Server 10.6 Y2K10 mail bug")

I went with Option 2 — modifying the rule configuration file such the 2010 isn’t perceived to be so far in the future as to be spam

Substitute

> header FH\_DATE\_PAST\_20XX Date =\~ /20\[**1**\-9\]\[0-9\]/ \[if-unset: 2006\]

with

> header FH\_DATE\_PAST\_20XX Date =\~ /20\[**2**\-9\]\[0-9\]/ \[if-unset: 2006\]

Unfortunately that didn’t resolve the issue for me.

On further searching through the various configuration files on the server, it looks like

/private/etc/mail/spamassassin/00\_FVGT\_File001.cf

is the file you want to edit.

**\[UPDATE:\]** yes, updating /private/etc/mail/spamassassin/00\_FVGT\_File001.cf and restarting the mail service appears to have resolved my issue.