From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60987 Path: news.gmane.org!not-for-mail From: "Ted Zlatanov" Newsgroups: gmane.emacs.gnus.general Subject: Re: spam.el/spam-report.el: Gmane spam reporting broken in No Gnus Date: 20 Sep 2005 12:38:24 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <4nek7jk83j.fsf@lifelogs.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1127234550 23131 80.91.229.2 (20 Sep 2005 16:42:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Sep 2005 16:42:30 +0000 (UTC) Original-X-From: ding-owner+m9519@lists.math.uh.edu Tue Sep 20 18:42:27 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EHl9s-0006Zu-WE for ding-account@gmane.org; Tue, 20 Sep 2005 18:39:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1EHl9l-0004ee-00; Tue, 20 Sep 2005 11:39:45 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EHl8c-0004eZ-00 for ding@lists.math.uh.edu; Tue, 20 Sep 2005 11:38:34 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1EHl8Z-0000Gx-OI for ding@lists.math.uh.edu; Tue, 20 Sep 2005 11:38:34 -0500 Original-Received: from clifford.bwh.harvard.edu ([134.174.9.41] helo=mail.bwh.harvard.edu) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EHl8Y-0007vb-00 for ; Tue, 20 Sep 2005 18:38:30 +0200 Original-Received: (qmail 19384 invoked from network); 20 Sep 2005 16:33:45 -0000 Envelope-Sender: tzz@lifelogs.com Envelope-Recipients: ding@gnus.org, Original-Received: from asimov.bwh.harvard.edu (HELO asimov) (internal?.8?user:?tzz@[134.174.8.118]) (envelope-sender ) by mail.bwh.harvard.edu (qmail-ldap-1.03) with SMTP for ; 20 Sep 2005 16:33:41 -0000 Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" X-Hashcash: 1:20:050920:ding@gnus.org::t9xEff0iK9iU2bCD:000047rs In-Reply-To: (Reiner Steib's message of "Thu, 08 Sep 2005 17:07:44 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on sysblade0.bwh.harvard.edu X-Spam-Status: No, score=-1.6 required=5.8 tests=AWL,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60987 Archived-At: On Thu, 08 Sep 2005, reinersteib+gmane@imap.cc wrote: > spam reporting for gmane.* groups is broken in the trunk. Here's a > minimal setup: > > --8<---------------cut here---------------start------------->8--- > (setq > spam-report-gmane-use-article-number nil > spam-report-url-ping-function 'spam-report-url-to-file) > gnus-parameters '(("^gmane\\." > (spam-process > (gnus-group-spam-exit-processor-report-gmane))))) > (spam-initialize) > --8<---------------cut here---------------end--------------->8--- Again, sorry for the late response. Can you try to use (spam spam-use-gmane) instead of gnus-group-spam-exit-processor-report-gmane? > To reproduce: > > Enter gmane.emacs.bugs, find a spam article, mark it with `S x', quit > the group with `q'. > > Expected behavior (*Messages* buffer): > > ,----[ v5-10 branch ] >| Exiting summary buffer and applying spam rules >| Registering 1 articles with classification spam, check spam-use-gmane >| Reporting spam article 3981 to spam.gmane.org... >| Reporting spam through URL http://spam.gmane.org/gmane.emacs.bugs/12939... > `---- > > Current behavior (*Messages* buffer): > > ,----[ No Gnus ] >| Exiting summary buffer and applying spam rules >| Registering 1 specific articles as spam using backend spam-use-move >| 1 spam messages were registered by backend spam-use-move. > `---- > > It's an NNTP group, so "move" makes no sense. By default we do spam-use-move (to move spam out of the group, if there are spam-process-destinations) and it knows that if a group is read-only, a copy should be done instead. > No report URL is put into `spam-report-requests-file'. The function > `spam-report-gmane' is not called at all. > > I guess the problem is related to the changes WRT > `spam-summary-exit-behavior' and `spam-group-processor-p'. But I > don't grok how it's supposed to work. > > I found out, that the Gmane entry has been removed from > `spam-list-of-processors' ("The OBSOLETE `spam-list-of-processors' > list."), but re-adding it didn't help: > > --8<---------------cut here---------------start------------->8--- > --- spam.el 26 Aug 2005 14:10:04 +0200 7.72 > +++ spam.el 08 Sep 2005 16:13:37 +0200 > @@ -1237,7 +1237,8 @@ > > (defvar spam-list-of-processors > ;; note the nil processors are not defined in gnus.el > - '((gnus-group-spam-exit-processor-bogofilter spam spam-use-bogofilter) > + '((gnus-group-spam-exit-processor-report-gmane spam spam-use-gmane) > + (gnus-group-spam-exit-processor-bogofilter spam spam-use-bogofilter) > (gnus-group-spam-exit-processor-bsfilter spam spam-use-bsfilter) > (gnus-group-spam-exit-processor-blacklist spam spam-use-blacklist) > (gnus-group-spam-exit-processor-ifile spam spam-use-ifile) > --8<---------------cut here---------------end--------------->8--- If you can test as I showed above, that would help me determine if the bug is in the Gmane reporting or just the backwards compatibility. Thanks Ted