Postfix content_filter (Was: Re: mailing list speed)
Gyepi SAM
gyepi at praxis-sw.com
Tue Oct 8 20:35:50 CEST 2002
On Tue, Oct 08, 2002 at 10:28:57AM -0400, David Relson wrote:
> cat | $BOGOFILTER -d /var/lib/bogofilter/ -p > msg.$$
For portabibility, this should be:
cat - | $BOGOFILTER -d /var/lib/bogofilter/ -p > msg.$$
since not all versions of cat default to reading stdin when there are no arguments.
Technically, since bogofilter reads stdin, one could also drop cat and say:
$BOGOFILTER -d /var/lib/bogofilter/ -p > msg.$$
which is simpler yet.
-Gyepi
For summay digest subscription: bogofilter-digest-subscribe at aotto.com
More information about the Bogofilter
mailing list