adding to contrib dir?

Allyn Fratkin allyn at fratkin.com
Tue Oct 29 17:01:55 CET 2002


> Why do you remove \0 characters? bogofilter has now learnt (or is it
> "learned" nowadays?) to deal with \0 characters.


a lot of the script functionality is historical.  it removes nulls and
carriage returns, neither of which are still required.  it started life
as a script to strip all base64 data because of the issue with carriage
returns (before i really understood why my base64 data wasn't being
discarded).

> The script does not currently detect the end of an attachment, and a
> signature will mark the end of the decoding.

yes, it is easily fooled during quoted-printable attachments.  it is far from
perfect but it has met my needs so far.  that's why i call it a "quick hack".
to really do the job, actual mime decoding would need to take place, which
is obviously much more complicated.

if it isn't useful we can remove it from the contrib dir.
-- 
Allyn Fratkin             allyn at fratkin.com
Escondido, CA             http://www.fratkin.com/





More information about the bogofilter-dev mailing list