http://issues.apache.org/SpamAssassin/show_bug.cgi?id=3109


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #3570 is|0                           |1
           obsolete|                            |
Attachment #3571 is|0                           |1
           obsolete|                            |




------- Additional Comments From [EMAIL PROTECTED]  2006-07-18 22:51 -------
Created an attachment (id=3591)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3591&action=view)
new shortcircuit patch, against trunk

Here is a new, less-intrusive short-circuiting patch against trunk.

It moves the implementation to a plugin,
Mail::SpamAssassin::Plugin::Shortcircuit, which implements the s/c logic. This
is made possible with a new plugin API and a flag-setting API on the
PerMsgStatus object.

It is still necessary to dot the PerMsgStatus code with calls like:

   return if (exists $self->{shortcircuit_flag});

I can't see a way to do it efficiently otherwise, unfortunately.  Other
than that, though, the logic is all now in a plugin; in particular,
deciding *when* that flag is set all takes place there.




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

Reply via email to