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





------- Additional Comments From [EMAIL PROTECTED]  2004-11-12 13:34 -------
Subject: Re:  plugins should be called during report()

On Fri, Nov 12, 2004 at 11:21:21AM -0800, [EMAIL PROTECTED] wrote:
> BTW, a little bit of thought on this: IMO, Razor *checking* and Razor
> *reporting* should be two separate plugins, not in the same code.  Similar for
> the other systems we report to.  I might want to check spamcop, but not report
> to it, for example, and loading the code during check-time would be wasteful 
> of RAM.

In Razor's case, I've molded the main code down into 1 general "call
razor" function, so there's really no waste (it's <40 lines of code
"waste" if you're not reporting or revoking,) and since you'd need the
check plugin loaded for report/revoke ...  You could, in theory, want
to report but not check.

IMO, we'd want a single plugin for check, revoke, and report (easier
for users to deal with, easy for us to know where the code is, etc,)
unless there's a really large non-overlap with other code, then there's
a savings for not loading it.  SpamCop, for instance, is a very good
candidate for a plugin since there's no extra code for checking, but
there's a ton of non-overlap code for reporting.





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to