Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
Cc: ding@gnus.org
Subject: Re: spam.el and bogofilter.
Date: Mon, 24 Mar 2003 14:24:15 -0500	[thread overview]
Message-ID: <4n65q84lgg.fsf@lockgroove.bwh.harvard.edu> (raw)
In-Reply-To: <uk7eohhks.fsf@coas.oregonstate.edu> (Jody Klymak's message of "Mon, 24 Mar 2003 08:09:39 -0800")

On Mon, 24 Mar 2003, jklymak@coas.oregonstate.edu wrote:
> I have been able to train bogofilter from within gnus.  I set a
> group to be a ham group, and tell it to process ham and spam (S x)
> with bogofilter on exit, and it apparently does so because I am able
> to change the bogosity of articles (checked via M s t).

Great.  Puzzling but great that you have it working.  Normally you
need to set the spam/ham exit processor in order to train bogofilter
or other tools.

> However, I am a little confused as to what spam-split actually does.
> Does it simply try and mark the article as spam or does it try and
> put it somewhere?  If it tries to put it somewhere, where would that
> be?

spam-split only moves the article to spam-split-group if it's spam,
marks are not set by it.

> I'm using nnimap, and have the following in my .gnus:
> 
> (require 'spam);; but really I dont' require spam!
> (setq
>   nnimap-split-rule 'nnimap-split-fancy
>   nnimap-split-inbox "INBOX"
>  nnimap-split-fancy '(|
> 		      (: spam-split)
> 		      ;; default mailbox
> 		      "mail/Inbox.spam"))
> 
> All my INBOX gets put in mail/Inbox.spam.  
> 
> I have spam-split-group set to "spam"  Should it be set to something
> else if I am using imap?

No, nnimap-split-fancy knows to interpret it in the IMAP context, and
nnmail-split-fancy will do the corresponding translation to nnml and
such.

You have to set spam-use-xyz if you want to use tool XYZ in
spam-split.  For instance, spam-use-bogofilter will detect spam in
spam-split with Bogofilter.  Have you looked at the intro to spam.el
in the manual?  If it was confusing or unclear, let me know what
parts, and how I should rephrase it if you have input.

> I have to admit an embarrassing lack of spam since last night when I
> got this working, but I do want to find out where my spam group will
> be.

Yeah, I keep a good 50 messages around for testing - the spam that
would not die, heh.

Thanks
Ted



  reply	other threads:[~2003-03-24 19:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-10 15:23 [CODE] Adding a message to a nndiary group Matthieu Moy
2002-05-14  9:56 ` Didier Verna
2002-05-14 12:06   ` Matthieu Moy
2002-05-14 12:21     ` Didier Verna
2002-05-14 12:47       ` Matthieu Moy
2002-05-14 12:57         ` Didier Verna
2002-05-14 13:30           ` Matthieu Moy
2002-05-14 16:45           ` Andreas Fuchs
2003-03-23 21:00 ` spam.el and bogofilter Jody Klymak
2003-03-23 23:03   ` Ted Zlatanov
2003-03-23 23:45     ` Jody Klymak
2003-03-24 15:07       ` Ted Zlatanov
2003-03-24 16:09         ` Jody Klymak
2003-03-24 19:24           ` Ted Zlatanov [this message]
2003-03-24 19:53             ` Jody Klymak
2003-03-25  8:18               ` Make.bat and info files (was: spam.el and bogofilter.) Frank Schmitt
2003-03-25 15:13                 ` Jody Klymak
2003-03-25 15:47                   ` Make.bat and info files Frank Schmitt

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=4n65q84lgg.fsf@lockgroove.bwh.harvard.edu \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    /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).