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

--- Comment #6 from Henrik Krohns <[email protected]> 2011-05-08 07:28:07 UTC ---
Now for my proposal.. I suggest creating a new config variable, for example:

rendered_body_part_max_size 20000

decode() already accepts argument on how many bytes to return, simple to do the
same for rendered().

I think overall effect from the change is very small, all parts are scanned
like before, just the pathological cases are limited. Rawbody can still be used
to access full parts. Sa-update can be used to change limit if something borks
in the future.

I will do some statistics on sizes and test out on how they affect mass checks
on my corpus..

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to