From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73435 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: SPAM in spam group is processed into that exact same group Date: Thu, 21 Oct 2010 20:38:19 +0200 Message-ID: <87ocan4cis.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1287686325 32383 80.91.229.12 (21 Oct 2010 18:38:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 21 Oct 2010 18:38:45 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21806@lists.math.uh.edu Thu Oct 21 20:38:44 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P902F-0005gg-Vu for ding-account@gmane.org; Thu, 21 Oct 2010 20:38:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1P902A-0005xK-Un; Thu, 21 Oct 2010 13:38:39 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P9029-0005x6-CX for ding@lists.math.uh.edu; Thu, 21 Oct 2010 13:38:37 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P901y-00054k-I2 for ding@lists.math.uh.edu; Thu, 21 Oct 2010 13:38:37 -0500 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P901x-0002vc-00 for ; Thu, 21 Oct 2010 20:38:25 +0200 Original-Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id EF7AC541 for ; Thu, 21 Oct 2010 14:38:22 -0400 (EDT) Original-Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 21 Oct 2010 14:38:22 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:subject:date:message-id:mime-version:content-type; s=smtpout; bh=PhlUDwf5xjr1PxuKyfHsg02NwJs=; b=S8PCndxs9Smq6mA9z4dCYqrZyVwec8NJvgzBzKgcU4GkVxMqftBoTRvFSQKvvY/Wp1c/W1sZ6gbhd9s57zNrqB90VrDGCWLCyLw4BjJ2boaDDmWjDSFDrq2/UZT4aOlFL6mXo4ciI58rg1CSMxZe52pn5e4+npHXMHyAlDZA3OQ= X-Sasl-enc: VBmK98tEkMb+RuZNYZZn/aHPIBXoKwMuqqXoPle150DQ 1287686302 Original-Received: from thinkpad.tsdh.de (p54AF01E6.dip0.t-ipconnect.de [84.175.1.230]) by mail.messagingengine.com (Postfix) with ESMTPA id 0090A40973F for ; Thu, 21 Oct 2010 14:38:21 -0400 (EDT) User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73435 Archived-At: 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