Sample Recipe
David Relson
relson at osagesoftware.com
Fri Oct 4 22:58:22 CEST 2002
<x-flowed>
At 04:42 PM 10/4/02, Boris 'pi' Piwinger wrote:
>David Relson <relson at osagesoftware.com> wrote:
>
> > MAILDIR=/var/spool/mail
> > HOME=/var/lib/bogofilter
>
>That looks strange. MAILDIR is the directory where procmail
>saves the files, in my case I use MAILDIR=$HOME/.procmail.
>You definitely don't want it in /var/spool/mail. I don't see
>a reason to redefine HOME. This is never used unless you
>call it explicitly as I do in $MAILDIR. So I would not
>really include it in the man page here.
Consider the following environment... bogofilter is running on the mail
server, not a user workstation. The wordlists are in a system
location. The role of bogofilter is to identify spam and put it in a file
from which it can be retrieved by the sysadmin. Said sysadmin, wishes to
use a normal MUA for retrieving the spam. Note: there will be a mechanism
for the sysadmin to reverse bogofilter's identifications and re
bogofilter uses HOME to find the wordlists. It seemed to me that
/var/lib/bogofilter would be an O.K. place for these files to live.
The use of a MUA to retrieve the spam indicates the file should be in the
normal mail directory, i.e. /var/spool/mail. If MAILDIR isn't set, the
spam file goes into HOME/spam. With my HOME setting, the spam file isn't
accessible to a MUA.
That's my rationale for the two definitions. If there's a better way of
doing what I want, please let me know. I'm all ears :-)
> > :0HB
> > * ? bogofilter
> > {
> > :0c
> > | bogofilter -s
> >
> > :0
>
>Lock this file, i.e.:
A colon (lock) has been added.
> :0:
> > spam-bogofilter
> > }
> >
> > :0Ec
> > | bogofilter -n
> >
> >By the way, a while back the non-spam options ("-h" and "-H") were returned
> >to their original values of "-n" and "-N".
>
>OK, I am running the last RPM release.
As you likely know, I've taken a shot at building an RPM. Unfortunately it
failed, so I now have to wait for someone who knows more about that than do I.
David
For summay digest subscription: bogofilter-digest-subscribe at aotto.com
</x-flowed>
More information about the Bogofilter
mailing list