You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2004/11/14 02:20:34 UTC
svn commit: rev 65561 - spamassassin/branches/3.0/lib/Mail/SpamAssassin
Author: felicity
Date: Sat Nov 13 17:20:33 2004
New Revision: 65561
Modified:
spamassassin/branches/3.0/lib/Mail/SpamAssassin/Reporter.pm
Log:
bug 3941: spamcop now only wants max 2 day old mail
Modified: spamassassin/branches/3.0/lib/Mail/SpamAssassin/Reporter.pm
==============================================================================
--- spamassassin/branches/3.0/lib/Mail/SpamAssassin/Reporter.pm (original)
+++ spamassassin/branches/3.0/lib/Mail/SpamAssassin/Reporter.pm Sat Nov 13 17:20:33 2004
@@ -398,8 +398,8 @@
my $header = $original;
$header =~ s/\r?\n\r?\n.*//s;
my $date = Mail::SpamAssassin::Util::receive_date($header);
- if ($date && $date < time - 3*86400) {
- warn ("SpamCop -> message older than 3 days, not reporting\n");
+ if ($date && $date < time - 2*86400) {
+ warn ("SpamCop -> message older than 2 days, not reporting\n");
return 0;
}