Sample Recipe

David Relson relson at osagesoftware.com
Sat Oct 5 01:18:48 CEST 2002


<x-flowed>
At 05:23 PM 10/4/02, David Relson wrote:
>At 05:13 PM 10/4/02, Eric Seppanen wrote:
>>On Fri, Oct 04, 2002 at 04:58:22PM -0400, David Relson wrote:
>> >
>> > 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.
>>
>>Sounds like maybe bogofilter should watch for an environment variable
>>(BOGOFILTER_DIR?) that has the same effect as -d.
>
>It seems pretty clear that definitions of MAILDIR and HOME shouldn't be in 
>the sample recipe.  It is useful to have _a_ definition in the sample 
>because the ability to do that is good to know (and may not be obvious to 
>other procmail rookies, beside myself).
>
>BOGOFILTER_DIR would work.  bogofilter could simply use the first 
>environment variable found, checking for $BOGOFILTER_DIR and then 
>$HOME.  Alternatively, we can use the config file (and have BOGOFILTER_DIR 
>be the parameter's name).


By default, bogofilter looks for the wordlists in $HOME/BOGODIR, where 
BOGODIR is a #define symbol with value "/.bogofilter/".  Why not use 
environment variable BOGODIR?


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

</x-flowed>



More information about the Bogofilter mailing list