From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81525 Path: news.gmane.org!not-for-mail From: Herbert Valerio Riedel Newsgroups: gmane.emacs.gnus.general Subject: What condition triggers to ham-process-destination ? Date: Thu, 08 Mar 2012 10:35:35 +0100 Message-ID: <87aa3rfna0.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1331199971 803 80.91.229.3 (8 Mar 2012 09:46:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 8 Mar 2012 09:46:11 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29805@lists.math.uh.edu Thu Mar 08 10:46:10 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S5ZvB-0007NA-Rr for ding-account@gmane.org; Thu, 08 Mar 2012 10:46:06 +0100 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 1S5ZuI-0005b8-0x; Thu, 08 Mar 2012 03:45:10 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1S5ZuF-0005ax-Fa for ding@lists.math.uh.edu; Thu, 08 Mar 2012 03:45:07 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1S5ZuE-00031S-3X for ding@lists.math.uh.edu; Thu, 08 Mar 2012 03:45:06 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1S5ZuC-0001qi-32 for ding@gnus.org; Thu, 08 Mar 2012 10:45:04 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S5ZuB-00065N-7V for ding@gnus.org; Thu, 08 Mar 2012 10:45:03 +0100 Original-Received: from chello080108022133.28.11.vie.surfer.at ([80.108.22.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Mar 2012 10:45:03 +0100 Original-Received: from hvr by chello080108022133.28.11.vie.surfer.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Mar 2012 10:45:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: chello080108022133.28.11.vie.surfer.at User-Agent: Gnus/5.130003 (Ma Gnus v0.3) Emacs/24.0.94 (gnu/linux) Cancel-Lock: sha1:LL3dc9NS1zUtRD8/vjsvDZSqKus= X-Spam-Score: 0.3 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-2035--9057h-0s--0d--H*u:Emacs, 0.000-157--695h-0s--0d--H*u:Gnus, 0.000-145--642h-0s--0d--H*u:linux, 0.000-145--642h-0s--0d--H*UA:linux, 0.000-142--629h-0s--0d--H*UA:gnu Spam tokens: 0.995-1--0h-3s--0d--H*RU:sk:chello0, 0.995-1--0h-3s--0d--HX-Spam-Relays-External:sk:chello0, 0.995-1--0h-3s--0d--H*r:sk:chello0, 0.946-788--364h-7807s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.946-788--364h-7807s--0d--H*RU:quimby.gnus.org Autolearn status: no -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 2.2 RCVD_IN_NJABL_PROXY RBL: NJABL: sender is an open proxy [80.108.22.133 listed in combined.njabl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81525 Archived-At: Hello, I'm using Ma Gnus 0.3 on a recent Emacs 24 snapshot, and I've tried to set up the spam package configuration example as described in the manual section "Using `spam.el' on an IMAP server with a statistical filter on the server", which ammounts to the following gnus.el entries: --8<---------------cut here---------------start------------->8--- (spam-initialize) (setq gnus-parameters '( ("^nnimap\\+gnu:INBOX$" (spam-contents gnus-group-spam-classification-ham) (spam-process-destination . "nnimap+gnu:Junk") ) ("^nnimap\\+gnu:Junk$" (spam-contents gnus-group-spam-classification-spam) (ham-process-destination . "nnimap+gnu:INBOX") ) )) --8<---------------cut here---------------end--------------->8--- When marking spam messages in INBOX, they get moved to the Junk folder as expected on group-exit. So far so good. But when unmarking false positives in Junk, I couldn't trigger the `ham-process-destination` action, i.e. the message is not marked with '$' anymore (, but stays in the Junk folder. On spam-group-exit the $-marked messages are marked expirable (as expected), but the non-$ marked messages are left untouched. What do I have to do, to have the non-$-marked messages moved to ham-process-destination? Which elisp function should I try to debug to find out what's happening? cheers, hvr -- Sent from my Emacs