You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/02/10 17:40:14 UTC
[Bug 3025] New: Bayes can compute message atimes in the future...
http://bugzilla.spamassassin.org/show_bug.cgi?id=3025
Summary: Bayes can compute message atimes in the future...
Product: Spamassassin
Version: 2.63
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P5
Component: Learner
AssignedTo: spamassassin-dev@incubator.apache.org
ReportedBy: felicity@kluge.net
The output from M::SA::Bayes::receive_date() can be in the future, depending on which header it
decides it can use to figure out the atime... This can lead to having tokens in the DB way off in the
future, which causes our expiry function to explode.
For 3.0, I added in the following code after the receive_date() calls as a sanity/safety measure:
# If the message atime comes back as being more than 1 day in the
# future, something's messed up and we should revert to current time as
# a safety measure.
#
$msgatime = time if ( $msgatime - time > 86400 );
If we do a 2.64 release, this should be added imho.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.