[cvs] bogofilter/contrib bogopass,1.3,1.4

Matthias Andree matthias.andree at gmx.de
Wed Dec 4 13:21:34 CET 2002


Suzanne Skinner <tril at igs.net> writes:

> Well, it was never really meant to be more than a quick fix. It strikes me
> that herculean efforts towards making bogopass user-friendly (e.g. checking
> for unbase64 failure) are kinda excessive.

No, because if unbase64 fails, the classification may be wrong depending
on the bogofilter configuration. You don't want to introduce a filter
that classifies everything as spam or everything as non-spam without
actually looking at the mail.

> I'd have to agree Perl is not ideal, nor is using a tempfile instead of
> reading the thing into memory. Maybe I can work out a little C program to do
> the same thing and cause less fuss :-)

Don't do it. Doing pipes and such things right in C is going to damage
your hands, it takes hundred-and-odd lines of code for an operation
that's done securely in like 10 lines of Perl.

-- 
Matthias Andree




More information about the bogofilter-dev mailing list