From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48342 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: new spam functionality added Date: Sun, 29 Dec 2002 22:44:48 -0500 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: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041220313 5515 80.91.224.249 (30 Dec 2002 03:51:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 30 Dec 2002 03:51:53 +0000 (UTC) Return-path: Original-Received: from util1.math.uh.edu ([129.7.128.22]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Sqxx-0001Qj-00 for ; Mon, 30 Dec 2002 04:51:49 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by util1.math.uh.edu with esmtp (Exim 4.10) id 18SqtQ-0004Co-00; Sun, 29 Dec 2002 21:47:08 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 29 Dec 2002 21:46:23 -0600 (CST) Original-Received: from ns1.beld.net (ns1.beld.net [208.229.215.81]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id VAA11545 for ; Sun, 29 Dec 2002 21:46:03 -0600 (CST) Original-Received: from heechee.beld.net (dhcp-0-30-bd-1-93-b2.cpe.beld.net [24.233.65.6]) by ns1.beld.net (Postfix) with ESMTP id B75F33B948 for ; Sun, 29 Dec 2002 22:44:41 -0500 (EST) Original-To: ding@hpc.uh.edu 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@hpc.uh.edu In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 30 Dec 2002 04:27:09 +0100") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48342 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48342 On Mon, 30 Dec 2002, larsi@gnus.org wrote: > Ted Zlatanov writes: > >> It returns nil. I'm using Emacs 21.2, which is the latest >> non-pretest version available from the Emacs web site. Can we do >> something for the people without a pretest version, such as >> optionally invoking the nslookup/host/dig programs? > > Well, you could open the firewall for TCP dns connections. :-) I was under the impression that I didn't need to accept inbound connections for TCP DNS lookups. I guess I do - you learn something new every day... >> If that's not possible, maybe spam.el is the place to add that >> kludge? > > Sure. There's a dig.el (in the Gnus distribution) that does much > the same as dns.el, although with a different interface. spam.el > could have variables you could set to say whether to use dns.el or > dig.el. Cool, I can do: (dig-invoke "244.224.91.80.bl.spamcop.net") [switch to the *dig output* buffer] check if (dig-extract-rr "244.224.91.80.bl.spamcop.net") is nil There doesn't seem to be a way to do all of these in one shot in dig.el; should I write the corresponding code in spam.el or should dig.el be extended to have a dig-dns-query function analogous to dns-query in dns.el? Ted