Re: Bogofilter for notification filtering 2
David Relson <[email protected]> Wed, 19 Jan 2011 07:27:03 -0500
| Newsgroups | gmane.mail.bogofilter.general |
|---|---|
| Organization | Osage Software Systems, Inc. |
| Message-ID | <[email protected]> |
On Wed, 19 Jan 2011 06:21:13 +0100 Florian Lindner wrote: > Am Mittwoch 19 Januar 2011, 02:23:42 schrieb RW: > > On Tue, 18 Jan 2011 18:04:29 +0100 > > > > Florian Lindner <[email protected]> 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 Hi Florian, All the information you need is in the man page! Use "-c filename" to specify the config file. The wordlist directory can be specified with the "-d dir" command line option or with a "bogofilter_dir=dir" line in the config file. HTH, David config file, you can specify _______________________________________________ Bogofilter mailing list [email protected] http://www.bogofilter.org/mailman/listinfo/bogofilter