SpamAssassin Rule: FH_DATE_PAST_20XX

Standard description: The date is grossly in the future.


The rule matches the year (a string of four numbers) in the Date header, and checks if it is between 2010/2020 (depending on version) and 2099.

Further Info

The default scores for this rule can be found in the online list of tests.

Note: the original rule in 3.2 started matching legitimate dates from 2010-01-01. See issues #5852 and #6269. If you are seeing this issue, you need to run the "sa-update" command.

If you need to disable this test manually, place the following in your file:

score FH_DATE_PAST_20XX 0.0

Note that this test is still in the default ruleset, albeit set to trigger after 2020. That's a short-term fix; the long-term fix is being worked on in this Bugzilla item.