-t output

Przemyslaw Brojewski przemek at my.tenbit.pl
Wed Jul 30 15:24:11 CEST 2003


On Wed, Jul 30, 2003 at 09:13:56AM -0400, David Relson wrote:
> At 08:52 AM 7/30/03, Boris 'pi' Piwinger wrote:
> >David Relson wrote:
> >
> >> Bogofilter allows user specified formatting for reporting its status.
> >
> >I know. My point is that this does not make sense for -t.
> >
> >> The default spamicity_tags are "Y/N/U", but I prefer "S/H/U".  They could
> >> as easily be "A/B/C" or any other three strings.
> >
> >And there is no way for another program to know without
> >complicated tricks. Or all those need to create special
> >config files.
> >
> >> Moral:  a customized config file can make life difficult for a script.  
> >To
> >> use a script, a user needs to have a compatible config file or else must
> >> modify the script.
> >
> >And that seems to be a bad idea. Terse format is to use in
> >scripts. So better don't allow any change in the format, so
> >everybody can rely on that.
> 
> You have a point.  However I don't agree that a single terse format is 
> adequate for all uses.

It's either single terse format or scripts should have some way of overriding
bogofilter's config file. Time for getopt-long?


Przemyslaw Brojewski.




More information about the Bogofilter mailing list