Gnus development mailing list
 help / color / mirror / Atom feed
* SPAM in spam group is processed into that exact same group
@ 2010-10-21 18:38 Tassilo Horn
  2010-10-24  9:55 ` Tassilo Horn
  0 siblings, 1 reply; 21+ messages in thread
From: Tassilo Horn @ 2010-10-21 18:38 UTC (permalink / raw)
  To: ding

Hi all,

I use 2 IMAP accounts and the spam processing is done on the server
side.  Now I want to setup gnus' spam processing to move false positives
and false negatives into training groups by (un)marking them with $.
That's what I've come up with:

--8<---------------cut here---------------start------------->8---
(spam-initialize)
(setq gnus-spam-newsgroup-contents
      ;; My spam groups all have spam or Junk in their name
      '(("\\.\\(spam\\|Junk\\)" gnus-group-spam-classification-spam))

      ;; Move SPAM in normal groups to spam training or spam group.
      gnus-spam-process-destinations
      '(("nnimap\\+Fastmail:"
	 "nnimap+Fastmail:INBOX.training.spam")
	("nnimap\\+Uni:"
	 "nnimap+Uni:Junk"))

      ;; Move ham in spam groups to inbox and training.ham.
      gnus-ham-process-destinations
      '(("nnimap\\+Fastmail:INBOX\\.Junk Mail"
	 "nnimap+Fastmail:INBOX"
	 "nnimap+Fastmail:INBOX.training.ham")))
--8<---------------cut here---------------end--------------->8---

I think the processing basically works fine except one really annoying
issue:  as soon as I leave some spam group like

  nnimap+Fastmail:INBOX.Junk Mail
  nnimap+Fastmail:INBOX.training.spam
  nnimap+Uni:Junk

which all contain only messages marked as spam ($), all messages in the
summary buffer are moved from that group into the exact same group.  And
unmarking a spam article before leaving doesn't process that into my
inbox and training.ham group, too, but does nothing instead.

My understanding was that in spam groups only the ham processor is
invoked whereas in ham and unclassified groups only the spam processor
does its job, but that seems to be false.  It looks to me that only the
spam processor is invoked in all groups.

To make things worse, the docs talk about several variables that don't
exist in my emacs/gnus, both the current heads of their bzr/git
repositories, e.g. `spam-move-spam-nonspam-groups-only',
`spam-process-ham-in-spam-groups', or
`spam-process-ham-in-nonham-groups'.

What am I doing wrong, or is it a bug?

Bye,
Tassilo



^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2010-12-14 22:32 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-21 18:38 SPAM in spam group is processed into that exact same group Tassilo Horn
2010-10-24  9:55 ` Tassilo Horn
2010-10-25 18:53   ` Ted Zlatanov
2010-10-25 20:05     ` Tassilo Horn
2010-10-25 20:23       ` Ted Zlatanov
2010-10-26  7:04         ` Tassilo Horn
2010-10-26 16:26           ` Ted Zlatanov
2010-10-26 17:38             ` Tassilo Horn
2010-10-26 18:47               ` Ted Zlatanov
2010-10-26 21:04                 ` Tassilo Horn
2010-10-27 17:37                   ` Ted Zlatanov
2010-11-03 16:39                     ` Tassilo Horn
2010-11-04  8:16                       ` Tassilo Horn
2010-11-04 20:18                         ` Lars Magne Ingebrigtsen
2010-11-05  8:59                           ` Tassilo Horn
2010-11-30 16:58                       ` Tassilo Horn
2010-11-30 18:36                         ` Tassilo Horn
2010-12-05 12:33                         ` Lars Magne Ingebrigtsen
2010-12-05 18:13                           ` Tassilo Horn
2010-12-05 18:37                             ` Lars Magne Ingebrigtsen
2010-12-14 22:32                               ` Ted Zlatanov

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).