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

--- Comment #7 from Mark Martinec <[email protected]> ---
Just to explain my previous commit:

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.

The patch just committed above does just that: provides a
capability test, and updates the conditional enclosing these rules.

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).

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

Reply via email to