How to add X-Bogosity line in qmail
Shawn Grunberger
shawn at oddpost.com
Fri Mar 7 23:01:57 CET 2003
Paulo, I'm not sure about calling bogofilter directly from the .qmail file, but using maildrop it would be pretty easy.
In your .qmail:
|/usr/bin/maildrop
In your global maildroprc, or in the user's local .mailfilter:
xfilter 'bogofilter -p -e'
Of course, you can also use maildrop to do things like deliver to a different folder if the message is flagged as spam.
Shawn
-----Original Message-----
Hi all:
I'm using qmail and I want to set up bogofilter on a per-user basis,
calling it from the .qmail (dot-qmail) file. What I don't know is how to
make bogofilter add the "X-Bogosity" line in each mail that it
processes; I've tried with the "-p" switch, but it doesn't seem to work.
I'm calling bogofilter using this .qmail file:
|condredirect [local address for spam] /usr/bin/bogofilter -p
./Maildir/
I've searched in the qmail mailing list archives, but they don't have
further suggestions, and I couldn't search this list's archives because
I don't know where they are <g>.
Paulo Jan.
DDnet.
More information about the Bogofilter
mailing list