https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6830

Kevin A. McGrail <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Kevin A. McGrail <[email protected]> ---
(In reply to comment #7)
> People running trunk code older than end-of-August started seeing:
> 
>   rules: failed to run __KAM_BODY_LENGTH_LT_256 test, skipping:
>     (Can't locate object method "check_body_length" via package
>     "Mail::SpamAssassin::PerMsgStatus" at (eval 1114) line 419.
> 
> The problem is that the new __KAM_BODY_LENGTH* rules
> test for version 3.4.0, although it would be more appropriate
> to test for a feature capability.

I agree.  Your fix is elegant though I view trunk as something that can break
at any time requiring an update, etc.

> While at it, I also added the possibility of letting the
> caller provide the original mail body size, which may be
> different from what arrived to SpamAssassin in case of
> message truncation (useful for example with amavis).

Neat.  Thanks as well.

Marking this resolved.

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

Reply via email to