Max SpamAssassin Size problems

Kash, Howard (Civ, ARL/CISD) hmkash at
Wed Aug 23 15:38:42 IST 2006

> Instead of the closest following MIME boundary, how about the closest 
> following blank line (or line that only contains whitespace). Would
> be okay?

That sounds like an OK fix for the images.  The plugins don't care about
the closing MIME boundary, they just need the full base64 encoding
present, which, as far as I know, shouldn't contain any blank lines.
The only issue I can think of is if you hit the "Max SpamAssassin Size"
limit in the middle of the MIME header.  Then your next blank line would
be between the header and the contents and you're left with a header but
no contents.  That would probably still trigger a corrupt image rule,
but should be pretty rare.

SA does have a MIME_MISSING_BOUNDRY rule, but it has a default score of
zero in at least the 3.1 releases.


More information about the MailScanner mailing list