From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53857 Path: main.gmane.org!not-for-mail From: nbareil+gmane@plop.dyndns.org (Nicolas Bareil) Newsgroups: gmane.emacs.gnus.general Subject: Reporting spam for gmane.org Date: Thu, 28 Aug 2003 20:32:35 +0200 Organization: madchat (http://madchat.org) Sender: ding-owner@lists.math.uh.edu Message-ID: <87ad9tske4.fsf@shibby.plop.dyndns.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1062100733 24872 80.91.224.253 (28 Aug 2003 19:58:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2003 19:58:53 +0000 (UTC) Original-X-From: ding-owner+M2397@lists.math.uh.edu Thu Aug 28 21:58:52 2003 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 19sSux-0002co-00 for ; Thu, 28 Aug 2003 21:58:51 +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 19sSuo-0007uG-00; Thu, 28 Aug 2003 14:58:42 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19sSJ1-0007bM-00 for ding@lists.math.uh.edu; Thu, 28 Aug 2003 14:19:39 -0500 Original-Received: (qmail 17645 invoked by alias); 28 Aug 2003 19:19:39 -0000 Original-Received: (qmail 17639 invoked from network); 28 Aug 2003 19:19:38 -0000 Original-Received: from main.gmane.org (80.91.224.249) by sclp3.sclp.com with SMTP; 28 Aug 2003 19:19:38 -0000 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19sSJg-0005Df-00 for ; Thu, 28 Aug 2003 21:20:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19sRdj-0004p1-00 for ; Thu, 28 Aug 2003 20:36:59 +0200 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19sRd0-0001ko-00 for ; Thu, 28 Aug 2003 20:36:14 +0200 Original-Lines: 52 Original-X-Complaints-To: usenet@sea.gmane.org X-Homepage: http://www.matoufou.org/ X-GnuPG-Key: 0x09223052 User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:myDGRT+fXjGrg1DUi6fVj0gGYSM= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53857 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53857 Hi, Background : I have a personnal news server which retrieve feeds from different servers (As news.gmane.org). I use spam-report.el to mark article as spam for gmane groups. So this function is called : ,---- | (defun spam-report-gmane (article) | "Report an article as spam through Gmane" | (interactive "nEnter the article number: ") | (when (and gnus-newsgroup-name | (or (null spam-report-gmane-regex) | (string-match spam-report-gmane-regex gnus-newsgroup-name))) | (gnus-message 6 "Reporting spam article %d to spam.gmane.org..." article) | (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)) | (with-current-buffer nntp-server-buffer | (gnus-request-head article gnus-newsgroup-name) | (goto-char (point-min)) | (if (re-search-forward spam-report-gmane-spam-header nil t) | (let* ((host (match-string 1)) | (report (match-string 2)) | (url (format "http://%s%s" host report))) | (gnus-message 10 "Reporting spam through URL %s..." url) | (spam-report-url-ping host report)) | (gnus-message 10 "Could not find X-Report-Spam in article %d..." | article)))))) `---- By default, spam-report-gmane-use-article-number doesn't exist so spam-report.el tries to get the article number (On *my* news server) and contact spam.gmane.org. But the article number is different between nntp://news.gmane.org/ and nntp://my.news.server/ so legitimate article are marked as spam. Could we just change the default setting, or write a warning in the Gnus manual ? PS : Personnaly, I've just put this in my ~/.gnus : (setq spam-report-gmane-use-article-number nil) -- BOFH excuse #309: firewall needs cooling