Total should actually be against the folder entirely, not just the date.
This commit is contained in:
parent
3a291f7ac7
commit
cb385f1cca
1 changed files with 1 additions and 1 deletions
|
@ -75,6 +75,7 @@ MAIL: while (my $file = readdir MAILDIR) {
|
||||||
print STDERR "File $file has Unparsable Date header $mailDate";
|
print STDERR "File $file has Unparsable Date header $mailDate";
|
||||||
next MAIL;
|
next MAIL;
|
||||||
}
|
}
|
||||||
|
$total++;
|
||||||
|
|
||||||
print "\nDate: $parsedDate" if ($VERBOSE > 2);
|
print "\nDate: $parsedDate" if ($VERBOSE > 2);
|
||||||
|
|
||||||
|
@ -96,7 +97,6 @@ MAIL: while (my $file = readdir MAILDIR) {
|
||||||
next MAIL;
|
next MAIL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$total++;
|
|
||||||
|
|
||||||
print " Confidence: $dspamVal{Confidence}, Probability: $dspamVal{Probability}\n"
|
print " Confidence: $dspamVal{Confidence}, Probability: $dspamVal{Probability}\n"
|
||||||
if ($VERBOSE > 2);
|
if ($VERBOSE > 2);
|
||||||
|
|
Loading…
Add table
Reference in a new issue