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 2005/07/08 05:42:47 UTC
[Bug 4461] [review] mass-check --reuse cannot deal with previously-unscanned mail
http://bugzilla.spamassassin.org/show_bug.cgi?id=4461
parkerm@pobox.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|mass-check --reuse cannot |[review] mass-check --reuse
|deal with previously- |cannot deal with previously-
|unscanned mail |unscanned mail
Target Milestone|Undefined |3.1.0
------- Additional Comments From parkerm@pobox.com 2005-07-07 20:42 -------
ok tested, but I encourage folks to give it some scrutiny.
Here is basically how it works:
1) Create $spamtest with the default rules.
2) If we are running with --reuse then make a copy of the default config, then
write out the zeroed scores to mass_prefs and read that config file in, and make
a copy of the reuse config.
3) In sub wanted, when we read in the msg, if we are running with --reuse then
if X-Spam-Status exists then it will be used and we make sure we have the reuse
config loaded. If X-Spam-Status does not exist then we will make sure that we
are running under the default config. Of course, if we are running without
--reuse then there will be no switching around.
4) Also, I added a reuse=yes or a reuse=no to the logfile line to indicate if
rules were reused for that particular msg.
Please review for inclusion in 3.1.0-pre4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.