Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
Subject: Re: how to use bogofilter efficiently
Date: Thu, 23 Oct 2003 16:28:36 -0400	[thread overview]
Message-ID: <4nad7rn1fv.fsf@lockgroove.bwh.harvard.edu> (raw)
In-Reply-To: <m3d6cn506a.fsf@jal.mat.ucm.es>

On Thu, 23 Oct 2003, oub@mat.ucm.es wrote:

On 22 Oct 2003, tzz@lifelogs.com wrote: 
>> You can add a bogofilter spam exit processor to the "SPAM" group.
>> It will run the spam articles through bogofilter as you are
>> describing it.  It's not perfect yet, but should work for you.

> I am not sure I understand: I split my incoming mail on the imap
> server with the bogofilter into MAILBOX and the SPAM group.  This
> splitting is based on my database.  Now, since this splitting is far
> from optimal, I want to actualize my database. Should I move the
> relevant from my MAILBOX to the SPAM box?  Otherwise how does
> bogofilter know about the new database?

Because your spam-splitting is done on the server, you can't really
train bogofilter on a client.  The best you can do is move articles
to a "train" group and then run bogofilter on it on the server
every now and then.  spam.el has some facilities for moving articles
around.

You could hack the source to make a remote-training-bogofilter
processor, but that's probably not something you're interested in
doing, and definitely isn't something I have the time to do :(

> In addition: could I combine (setq spam-use-BBDB-exclusive t) and
> (setq spam-use-bogofilter t)?  Like first the mail is split into the
> MAILBOX (only bbdb members in) and SPAM, spam and unclassified, (*)
> then a bogofiler runs on this splitting mail into REALSPAM and
> HARMLESS or so.

Not in that order.  You can do a specific order thus in the fancy
split rules:

--> set spam-split-group to "REALSPAM"
(: spam-split 'spam-use-bogofilter)
--> set spam-split-group to "MAYBESPAM"
(: spam-split 'spam-use-BBDB-exclusive)
("mail")

If you do it this way, you'll have to set spam-split-group with a
function outside of spam-split.  Let me know if this makes some
sense.

Ted


      parent reply	other threads:[~2003-10-23 20:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-22 12:41 Uwe Brauer
     [not found] ` <4noew9rq2t.fsf@lockgroove.bwh.harvard.edu>
2003-10-23  8:37   ` Berthold Höllmann
2003-10-23 15:54     ` Ted Zlatanov
     [not found]   ` <m3d6cn506a.fsf@jal.mat.ucm.es>
2003-10-23 20:28     ` Ted Zlatanov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4nad7rn1fv.fsf@lockgroove.bwh.harvard.edu \
    --to=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).