Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ucsd!ginger.acc.com!ivucsb!todd
From: todd@ivucsb.sba.ca.us (Todd Day)
Newsgroups: news.software.b
Subject: Re: dbz caveat (duplicate article fix!)
Message-ID: <1989Sep29.181242.10244@ivucsb.sba.ca.us>
Date: 29 Sep 89 18:12:42 GMT
References: <1139@svx.SV.DG.COM> <1989Sep26.223014.13868@ddsw1.MCS.COM>
Reply-To: todd@ivucsb.sba.ca.us (Todd Day)
Organization: Disillusioned Graduate Hackers, Santa Barbara, CA
Lines: 24

karl@ddsw1.MCS.COM (Karl Denninger) writes:
~Dbz also appears to have a nasty habit of not noticing if you have a
~duplicate under some conditions.  That is, articles which are still in the
~history file at times show up again if they are received twice!

Are you using the dbz from contrib/dbz?  If not, you should switch.
A good check is to try "nm /usr/lib/libdmb.a" or whatever you call
the dbz library.  If "rfc822ize" shows up, then you are probably using
the proper dbz library.

If you look at the dbz source in contrib/dbz, the line with the B news
kludge regarding lowercase() is commented out.  This is the key.  I did
a check on all the duplicate articles hitting my site, and they all
had uppercase after the "@" sign (usually .COM or .UUCP or .EDU).  The
problem is that relaynews calls the dbz store() function with the upper
case version, but the bad version of dbz does the check against a lower
case version.  If you comment out the "lowercase" line from the dbz
source, it should work.

-- 

Todd Day  |  todd@ivucsb.sba.ca.us  |  ivucsb!todd@anise.acc.com
"Ya know, some day these scientists are going to invent something
	that can outsmart a rabbit" -- Bugs Bunny