From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46221 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: new spam functionality added Date: Thu, 22 Aug 2002 21:50:22 -0400 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: owner-ding@hpc.uh.edu Message-ID: References: <87y9brejam.fsf@mail.paradoxical.net> <873ctztyth.fsf@mail.paradoxical.net> <87bs8nsh7g.fsf@mail.paradoxical.net> <87fzxziifw.fsf@wesley.springies.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030067404 20978 127.0.0.1 (23 Aug 2002 01:50:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 23 Aug 2002 01:50:04 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17i3aL-0005Rr-00 for ; Fri, 23 Aug 2002 03:50:01 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17i3YV-0003Fk-00; Thu, 22 Aug 2002 20:48:07 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 22 Aug 2002 20:48:39 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id UAA01533 for ; Thu, 22 Aug 2002 20:48:26 -0500 (CDT) Original-Received: (qmail 14243 invoked by alias); 23 Aug 2002 01:47:49 -0000 Original-Received: (qmail 14238 invoked from network); 23 Aug 2002 01:47:49 -0000 Original-Received: from ns1.beld.net (208.229.215.81) by gnus.org with SMTP; 23 Aug 2002 01:47:49 -0000 Original-Received: from heechee.beld.net (dhcp-0-50-8b-df-51-5e.cpe.beld.net [65.202.179.253]) by ns1.beld.net (Postfix) with ESMTP id 8AFBA3B8EC for ; Thu, 22 Aug 2002 21:47:47 -0400 (EDT) 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" Mail-Followup-To: ding@gnus.org In-Reply-To: (Simon Josefsson's message of "Thu, 01 Aug 2002 23:38:43 +0200") Original-Lines: 35 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-redhat-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46221 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46221 On Thu, 01 Aug 2002, jas@extundo.com wrote: > What does "not working" mean? Limited testing seems to work: > > (query-dns "www.extundo.com" 'A) > "217.13.230.178" It took me a while to find the problem, because it only showed up on the first invocation of query-dns, and only sporadically at that. You should have spam.el loaded. The symptom: grab a known relay from http://spamcop.net/w3m?action=inprogress&type=relay Open a fresh Emacs. Load spam.el. Add the relay to the Received: header of a message (I wrote the message buffer to a file, I don't think that made a difference). Invoke spam-check-blackholes with that message or file buffer active. You will often get this error: Debugger entered--Lisp error: (args-out-of-range 1 3) query-dns("100.191.110.198.dev.null.dk") spam-check-blackholes() eval((spam-check-blackholes)) eval-expression((spam-check-blackholes) nil) call-interactively(eval-expression) The second and further times query-dns is invoked, it works every time. I'm not sure if this is a problem with my personal DNS setup, with the spam.el invocation of query-dns, or with dns.el itself. Thanks Ted