Size limit?
Matthias Andree
matthias.andree at gmx.de
Fri Dec 17 23:35:14 CET 2004
John <xd890cc2b41c31d74 at f4n.org> writes:
> Sorry if this is an FAQ, I didn't find any mention of it in the docs
> or archives.
>
> Is it possible to limit how much data bogofilter will use when
> analyzing a message?
Not at this time.
> There was a thread a while back about dealing with attachments, but it
> didn't discuss limits:
> http://www.bogofilter.org/pipermail/bogofilter-dev/2004-November/002643.html.
>
> Of course, I could simply limit how much data I pipe to bogofilter,
> but such a solution is less than optimal for emails of the form
> "[text] [some large attatchment] [more text]", where considering only
> the first N bytes might neglect "[more text]". Perhaps there should be
> two limits: data_limit, how much to analyze, and raw_limit >=
> data_limit, specifying maximum number of bytes to read. (raw_limit
> could be implemented externally, so it's less important, as long as
> bogofilter can handle brutally terminated MIME.)
Bogofilter skips over non-text attachments. I am not aware that
"brutally terminated MIME" causes problems to bogofilter.
--
Matthias Andree
More information about the Bogofilter
mailing list