Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
Cc: <ding@gnus.org>
Subject: Re: spam.el and ham in a spam group
Date: Fri, 25 Jul 2003 15:13:52 -0400	[thread overview]
Message-ID: <4ny8ym5si7.fsf@chubby.bwh.harvard.edu> (raw)
In-Reply-To: <ufzkvksq3.fsf@riic.at> (Stefan =?iso-8859-1?q?Reich=F6r's?= message of "Fri, 25 Jul 2003 08:47:48 +0200")

On Fri, 25 Jul 2003, xsteve@riic.at wrote:
> I am not sure, how the spam-process-ham-in-spam-groups should work.

It allows a ham-processor to be set for a spam group.

> What I really want is a possibility to mark some messages as ham and
> to respool them. How can I achieve this?

With the ham-process-destination group/topic parameter, as described
in the manual.

> Now I use spam-stat as spam filter and I use the following function
> to register the message as non spam. After that I set the process
> mark. I apply that for every ham message in the spam group.
> 
> (defun xsteve-summary-is-non-spam ()
>   (interactive)
>   (gnus-summary-show-article t)
>   (other-window 1)
>   (goto-char (point-min))
>   (spam-stat-buffer-is-non-spam)
>   (other-window -1)
>   (gnus-summary-clear-mark-forward 1)
>   (next-line -1)
>   (gnus-summary-mark-as-processable 1))
> 
> 
> Before I exit the group I respool the ham messages via B r
> 
> This way the messages are delivered to the group they belong.
> 
> 
> I think it would be nice to add something like this to spam.el
> Or can spam.el handle this already?

Yes, you just need to add the spam-stat ham processor to the spam
group's ham-processor group/topic parameter, and set a
ham-process-destination group/topic parameter for the same spam group.
It will do what you have written, I think.

Ted



  reply	other threads:[~2003-07-25 19:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-21 16:09 Jody Klymak
2003-07-22 15:26 ` Ted Zlatanov
2003-07-22 16:03   ` Jody Klymak
2003-07-23 20:10     ` Ted Zlatanov
2003-07-23 21:09       ` Jody Klymak
2003-07-23 21:28       ` Jody Klymak
2003-07-24 15:00         ` Ted Zlatanov
2003-07-24 16:50           ` Jody Klymak
2003-07-25  6:47           ` Stefan Reichör
2003-07-25 19:13             ` Ted Zlatanov [this message]
2003-07-22 17:24   ` Danny Siu
2003-07-22 21:05     ` David Z Maze
2003-07-23 14:52     ` Ted Zlatanov
2003-07-23 15:38       ` Chris Green
2003-07-23 19:43         ` Ted Zlatanov

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=4ny8ym5si7.fsf@chubby.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).