From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57711 Path: main.gmane.org!not-for-mail From: "Ted Zlatanov" Newsgroups: gmane.emacs.gnus.general Subject: Re: spam-report.el pinging too fast? Date: 25 May 2004 14:50:27 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Sender: ding-owner@lists.math.uh.edu Message-ID: <4naczw8hos.fsf@lifelogs.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085512070 12118 80.91.224.253 (25 May 2004 19:07:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 May 2004 19:07:50 +0000 (UTC) Original-X-From: ding-owner+M6251@lists.math.uh.edu Tue May 25 21:07:36 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BShGx-0000OF-00 for ; Tue, 25 May 2004 21:07:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BShGp-0003jP-00; Tue, 25 May 2004 14:07:27 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BShGk-0003jK-00 for ding@lists.math.uh.edu; Tue, 25 May 2004 14:07:22 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BShGk-0001pa-2X for ding@lists.math.uh.edu; Tue, 25 May 2004 14:07:22 -0500 Original-Received: from mail.bwh.harvard.edu (sysblade0.bwh.harvard.edu [134.174.9.44]) by justine.libertine.org (Postfix) with ESMTP id 9AC513A0207 for ; Tue, 25 May 2004 14:07:21 -0500 (CDT) Original-Received: (qmail 13933 invoked from network); 25 May 2004 19:01:38 -0000 Envelope-Sender: tzz@lifelogs.com Envelope-Recipients: ding@gnus.org, Original-Received: from asimov.bwh.harvard.edu (HELO asimov) ([134.174.9.63]) (envelope-sender ) by mail.bwh.harvard.edu (qmail-ldap-1.03) with SMTP for ; 25 May 2004 19:01:38 -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" In-Reply-To: (Lars Magne Ingebrigtsen's message of "Tue, 25 May 2004 00:55:33 +0200") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57711 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57711 On Tue, 25 May 2004, larsi@gnus.org wrote: > Lars Magne Ingebrigtsen writes: > >> So there's two solutions to this: Either spam-report.el could wait >> for a response (and serialize the reports), or I could write a new >> "programmatic" spam.php that queues the reports and does the real >> handling of them later. > > I've now done the latter. :-) > > The new URL is > > http://gmane.org/ping-spam.php?group=some.group&article=1234&command=spam > > (or unspam). > > spam.gmane.org checks User-Agent, and if it contains > "spam-report.el", it'll just queue the report. So this code in spam-report.el will have to change: (if spam-report-gmane-use-article-number (spam-report-url-ping "spam.gmane.org" (format "/%s:%d" (gnus-group-real-name gnus-newsgroup-name) article)) or does it still work? When I connected directly it seemed to be OK, but I wasn't sure if you're rewriting properly or it's going to /dev/null. Hmmm, maybe I should also have a ham Gmane reporter! I didn't know you could "unspam." Does it work with the http://unspam.gmane.org/GROUP:ARTICLE format as you would expect? I tested and it looked OK, but same question as above... Thanks Ted