A trick with perl
Boris 'pi' Piwinger
3.14 at logic.univie.ac.at
Mon Jan 5 16:58:15 CET 2004
Tom Anderson wrote:
>> 1) Is it OK to train with a different handle and still use
>> the first open pipe (-TM to get ouput for each mail) to rate
>> messages?
>
> Not using Open2. You have to close the write filehandle in order to
> flush your output before bogofilter will finish reading and evaluate its
> input.
Seems to be true. I was hoping it would happen on the next
From_ line. It would really speed things up to keep a
bogofilter pipe open. This way it is faster to open a normal
pipe and just use the exit code.
pi
More information about the Bogofilter
mailing list