Postfix content_filter (Was: Re: mailing list speed)

David Relson relson at osagesoftware.com
Fri Oct 11 22:56:04 CEST 2002


At 04:44 PM 10/11/02, David DeSimone wrote:
>David Relson <relson at osagesoftware.com> wrote:
> >
> > Since BOGOFILTER_DIR is defined, the "-d ..." is unnecessary.  Here's the
> > improved script:
> >
> >     #!/bin/sh
> >
> >     BOGOFILTER=/usr/local/bin/bogofilter
> >     BOGOFILTER_DIR=/var/spool/filter
> >     SENDMAIL=/usr/lib/sendmail
>
>Don't forget to
>
>     export BOGOFILTER_DIR

David,

Those statements are exactly what I want and they work as specified. Since 
the definitions are meant only for use in the script, export isn't 
necessary.  However, if you're using the script as the base for something 
else ...

David



For summay digest subscription: bogofilter-digest-subscribe at aotto.com



More information about the Bogofilter mailing list