Bogofilter for notification filtering 2

Florian Lindner mailinglists at xgm.de
Wed Jan 19 06:21:13 CET 2011


Am Mittwoch 19 Januar 2011, 02:23:42 schrieb RW:
> On Tue, 18 Jan 2011 18:04:29 +0100
> 
> Florian Lindner <mailinglists at xgm.de> wrote:
> > Sent again, cause my first mail seemed to got lost.
> > 
> > Hello,
> > 
> > I use bogofilter with KMail successfully for filtering spam.
> > 
> > Now I want to use it for another filtering task. Everybody knows
> > these notification mail from forums, facebook, ... (New reply, New
> > message, ...)
> > 
> > I want to use bogofilter to sort them in a seperate folder.
> > 
> > I created a new configuration dir:
> > 
> > % cat ~/.bogofilter-notifications/bogofilter.cf
> > spam_header_name=X-Bogo-Notification
> > 
> > And use bogofilter like that from kmail:
> > 
> > bogofilter -s -d /home/florian/.bogofilter-notifications
> 
> Possibly the defaults are different on Arch, but on FreeBSD
> the files are
> 
> 
>        ~/.bogofilter.cf
>            User configuration file.
> 
>        ~/.bogofilter/wordlist.db
>            Combined list of good and spam tokens.
> 
> 
>  and the -d option changes the location of the wordlist.

Ah, ok. I thought -d would change the entire configuration directory. is there 
a way to specify an alternate configuration dir on the command line? (including 
wordlists, config file, ...)

Regards,
Florian

> _______________________________________________
> Bogofilter mailing list
> Bogofilter at bogofilter.org
> http://www.bogofilter.org/mailman/listinfo/bogofilter




More information about the Bogofilter mailing list