http://bugzilla.spamassassin.org/show_bug.cgi?id=3960





------- Additional Comments From [EMAIL PROTECTED]  2004-11-09 22:52 -------
Subject: Re:  Spamd is not able to handle multi-user mail

> also note that we cannot reasonably "split" scanning into 1 "shared"
> global-settings scan and N "per-user" scans, since one of the possible
per-user
> modifications is to turn off or disable rules.

I don't see that that follows.  It is probably true of the current
implementation, but I don't see that it needs to be.

It would be theoretically possible (and I would assume only moderately messy
to change the existing code) to scan all the global rules into a result set
that indicates what rules hit and their scores, then apply the local rules
that can contain more rules and score overrides for global rules.  Obviously
a pristine copy of the global results would be kept so that local rules
could modify copies and not the master result.  Similar in concept to
reloading the user config in spamd on each message change.  The final
results for the message would then be extracted from the final rule results
tree/hash/whatever.

I don't recall any user option to globally disable all global rules, but if
such exists it would be trivial to start from an empty results tree for that
user, rather than from a previously-known global results tree.

Mind you, I'm not arguing for (or against, either) doing group scanning with
separate per-user results.  I'm just suggesting that it should be possible
to split the scanning as far as overriding global results without a huge
amount of effort.  The main trick would be to remember all the rules that
hit, regardless of the apparent score.  The scores can then be overridden
after rule processing.





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to