From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57697 Path: main.gmane.org!not-for-mail From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de> Newsgroups: gmane.emacs.gnus.general Subject: Re: spam-report.el pinging too fast? Date: Tue, 25 May 2004 13:23:05 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Sender: ding-owner@lists.math.uh.edu Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085484248 29471 80.91.224.253 (25 May 2004 11:24:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 May 2004 11:24:08 +0000 (UTC) Original-X-From: ding-owner+M6237@lists.math.uh.edu Tue May 25 13:23:58 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 1BSa2I-0005cG-00 for ; Tue, 25 May 2004 13:23:58 +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 1BSa1w-0002D1-00; Tue, 25 May 2004 06:23:36 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BSa1n-0002Ct-00 for ding@lists.math.uh.edu; Tue, 25 May 2004 06:23:27 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BSa1m-0004Qe-Cl for ding@lists.math.uh.edu; Tue, 25 May 2004 06:23:26 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id B7D283A0063 for ; Tue, 25 May 2004 06:23:24 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BSa1j-000392-00 for ; Tue, 25 May 2004 13:23:23 +0200 Original-Received: from lumberjack.physik.uni-ulm.de ([134.60.10.173]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 May 2004 13:23:23 +0200 Original-Received: from reiner.steib by lumberjack.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 May 2004 13:23:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 45 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lumberjack.physik.uni-ulm.de X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.;yo.b yq4$p;ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Copies-To: nobody User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:R/fZ1v+WCv+N7MODL5CPUVyTiM8= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57697 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57697 On Tue, May 25 2004, Lars Magne Ingebrigtsen 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). It would be slightly nicer (easier parsing X-Report-Spam and construction the ping-URL) to have ping-URLs similar to the normal ones, e.g. by pre- or appending some keywords: X-Report-Spam: http://spam.gmane.org/GROUP:NUMBER --> http://spam.gmane.org/GROUP:NUMBER&ping or --> http://spam.gmane.org/ping?group=GROUP:NUMBER While at it... Some time ago we discussed[1] whether it would make sense to report more than one article in a single HTTP request. spam-report currently sends out one request for each article, see `spam-report-gmane' and `spam-report-url-ping-plain'. We could collect the reports for each group (actually we already have a list of articles in the first place) and do a single request, say "http://spam.gmane.org/GROUP:NUMBER,NUMBER,NUMBER,NUMBER,NUMBER". Would that be useful from Gmane's point of view? Bye, Reiner. [1] -- ,,, (o o) ---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/