Bug 5852

Summary: DATE_IN_FUTURE_96_XX overlaps with FH_DATE_PAST_20XX
Product: Spamassassin Reporter: Matus UHLAR - fantomas <uhlar>
Component: Score GenerationAssignee: SpamAssassin Developer Mailing List <dev>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P5    
Version: 3.2.4   
Target Milestone: 3.3.0   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 6269    

Description Matus UHLAR - fantomas 2008-03-14 03:10:03 UTC
rules FH_DATE_PAST_20XX and DATE_IN_FUTURE_96_XX are overlapping - of course the DATE_IN_FUTURE_96_XX will aply when the date is past 2009. Combined scores are too high imho:

score FH_DATE_PAST_20XX 2.075 3.384 3.554 3.188
score DATE_IN_FUTURE_96_XX 3.899 3.899 2.598 1.439

the combined are: 5.974 7.283 6.152 4.627

each is too high. please lower scores for FH_DATE_PAST_20XX
Comment 1 Lee Maguire 2008-11-05 07:12:25 UTC
Current rule ( rules/branches/3.2/72_active.cf ) is:

##{ FH_DATE_PAST_20XX
header   FH_DATE_PAST_20XX      Date =~ /20[1-9][0-9]/ [if-unset: 2006]
describe FH_DATE_PAST_20XX      The date is grossly in the future.
##} FH_DATE_PAST_20XX

This will start triggering on legitimate mail in 14 months.  It would be more usefully updated now to ensure that any rules packaged and distributed with OS distributions in 2009 (which are often not routinely updated by end-users) do not trigger in 2010.
Comment 2 Justin Mason 2009-06-30 14:02:56 UTC
: 230...; svn commit -m "bug 5852: trivial fix, stop FH_DATE_PAST_20XX matching 2010" rulesrc/sandbox/emailed/00_FVGT_File001.cf
Sending        rulesrc/sandbox/emailed/00_FVGT_File001.cf
Transmitting file data .
Committed revision 789951.


now matches 2020 and onwards...
Comment 3 Justin Mason 2010-01-01 12:55:05 UTC
ugh.  crap.  this needed to be pushed to sa-update for 3.2, but never was.  See bug 6269 for the fallout :(