[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DNS RBL fix



On Tue, Apr 15, 2003 at 07:59:10PM +0400, Eugene Crosser wrote:
> On Tue, 2003-04-15 at 19:55, Daryle A. Tilroe wrote:
> > Heh?  So what is this all about?
> 
> Request buffer for DNS RBL lookup is incorrectly filled in the current
> CVS source...  If you wanted to lookup "1.2.3.4.list.dsbl.org", it would
> lookup "1.2.3.4..." and of course would find nothing.

CVS shows:

revision 1.28
date: 2002/08/31 23:10:33;  author: mea;  state: Exp;  lines: +17 -1
2002-09-01  Matti Aarnio  <mea@zmailer.org>
* smtpserver/mxverify.c:
    When doing varioud "RBL" lookups, always catenate a "."
    into end of the lookup domain in order to suppress
    unnecessary "search" work by the resolver libraries.
    Doing:  _res.options &= ~RES_DNSRCH;  might do it too...

http://www.zmailer.org/cgi-bin/cvsweb.cgi/zmailer/smtpserver/mxverify.c.diff?r1=1.27&r2=1.28&f=h

Reading that shows what the original error was...
I applied Eugene's patch manually.

> Eugene Crosser, head of Internet Applications section, +7 501 787 1000
-- 
/Matti Aarnio	<mea@nic.funet.fi>
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi