Languages

Archived - Mac OS X Server may classify some inbound messages sent on or after January 1, 2010 as spam

This article has been archived and is no longer updated by Apple.

Symptoms

Mac OS X Server v10.5 and v10.6 use SpamAssassin to filter "spam" from inbound messages; SpamAssassin includes a rule that increases the spam score for any inbound message sent on or after January 1, 2010.

This increased score may cause some inbound messages sent on or after January 1, 2010 to be inadvertently filtered as spam.

Resolution

For Mac OS X Server v10.6

Download and install the Mac OS X Server v10.6.3 Update, or later. It includes a newer version of SpamAssassin that disables this rule.


For Mac OS X Server v10.5

To disable this rule in Mac OS X Server v10.5

  1. Stop the mail server and execute this Terminal command:

    sudo vi /etc/mail/spamassassin/local.cf
     
  2. Add the following to a new line at the end of the file:

    score FH_DATE_PAST_20XX 0.0
     
  3. Save the file and restart the mail service. 

Additional Information

If you don't want to disable the date rule and want to continue to score messages based on future dates

Note: The steps below will have no effect if you've already disabled the rule per the steps above.

  1. Stop the mail server.
  2. Execute this command in Terminal:

    sudo vi /usr/share/spamassassin/72_active.cf
     
  3. Find the line:

    header   FH_DATE_PAST_20XX      Date =~ /20[1-9][0-9]/ [if-unset: 2006]
     
  4. Change it to read:

    header   FH_DATE_PAST_20XX      Date =~ /20[2-9][0-9]/ [if-unset: 2006]
     
  5. Save the file and restart the mail service.  

The rule will now only flag messages that originate in the year 2020 and above.

Important: Information about products not manufactured by Apple is provided for information purposes only and does not constitute Apple’s recommendation or endorsement. Please contact the vendor for additional information.
Last Modified: May 1, 2013
Helpful?
Yes
No
Not helpful Somewhat helpful Helpful Very helpful Solved my problem
Print this page
  • Last Modified: May 1, 2013
  • Article: TS3187
  • Views:

    13115
  • Rating:
    • 64.0

    (516 Responses)
Start a Discussion
in Apple Support Communities
See all questions on this article See all questions I have asked