Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Hubert Chan <hubert@uhoreg.ca>
Subject: Re: Spam inoculation mail support?
Date: Mon, 08 Mar 2004 17:25:50 -0500	[thread overview]
Message-ID: <8765dfgemp.fsf@uhoreg.ca> (raw)
In-Reply-To: <4n7jxv2hqx.fsf@lifelogs.com>

>>>>> "Ted" == Ted Zlatanov <tzz@lifelogs.com> writes:

[...]

Nuutti> And while on the subject (I haven't had time to dig into spam.el
Nuutti> deeply yet) - is there a simple way to have spam.el invoke some
Nuutti> processor only when mails are moved from a spam group to a ham
Nuutti> group or vice versa - eg. living with the assumption that
Nuutti> everything has already been handled and only errors need to be
Nuutti> trained.

Ted> Yes, I do that in my setup which is in the Gnus manual as a spam.el
Ted> example.  My mail gets sorted out on the mail server by
Ted> SpamAssassin, and then misidentified spam goes into a "train"
Ted> folder, while misidentified ham goes into a "trainham" folder.  I
Ted> don't do it personally, but you can set summary exit spam- and
Ted> ham-processors that will run when the spam and ham are moved to
Ted> "train" and "trainham" respectively.

I think what he means is that when in a spam group, if he does "B m" to
move the article to a ham group, the ham processor should be called.
(If that isn't what he meant, it's something that I would like to see,
since it fits my workflow better.)  I think that would be related to one
of the functions I was planning on writing, which would allow you to
call the processors on selected articles.  Then you could remap "B m" to
a function that calls the ham processors and then moves the article.
(Or if gnus-summary-move-article uses hooks, you could do that.)

Unfortunately, real life has kept me busy of late.  I'm hoping that I
can get some coding in next week...

-- 
Hubert Chan <hubert@uhoreg.ca> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.


      parent reply	other threads:[~2004-03-08 22:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-08 13:53 Nuutti Kotivuori
     [not found] ` <4n7jxv2hqx.fsf@lifelogs.com>
2004-03-08 22:25   ` Hubert Chan [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=8765dfgemp.fsf@uhoreg.ca \
    --to=hubert@uhoreg.ca \
    /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).