Bogofilter with multiple user and __db* problem

David Relson relson at osagesoftware.com
Thu Dec 16 13:28:06 CET 2004


Andoni,

On my mail server (with a small user group), I run postfix, procmail,
and bogofilter.  My bogofilter files are in /var/spool/bogofilter and
/etc/procmailrc has the rules for running bogofilter.  With this
configuration, all files are owned by root and all the users
successfully share the bogofilter environment.  The relevant portion of
procmailrc is below.

HTH,

David


##### begin procmailrc section #####
BOGOFILTER_DIR=/var/spool/bogofilter

### keep a backup copy of all incoming mail
:0c:
mail.backup

### run bogofilter
:0fw
| bogofilter -p -l -e -u -U

:0e
{
        EXITCODE=75
        HOST
}

### divert spam
:0:
* ^X-Bogosity: (Spam|Yes)
spam-bogofilter

##### end #####



More information about the Bogofilter mailing list