Well caught, Mark!

I'd come to similar conclusions even without digging into the code when
I saw DNS-related strangeness when I was testing SA 3.2.0 a few weeks
back.

I'll second your request that SA process all results it has collected on
timeout, instead of discarding them.

Cheers,

Phil

-----Original Message-----
From: Mark Martinec [mailto:Mark.Martinec+sa@ijs.si]=20
Sent: 12 June 2007 17:20
To: users@spamassassin.apache.org
Subject: Re: These are getting through SA...

Luis,

> > Namely with 22 RBL results coming back, the last one
> > (which was the crucial URIBL test) had a timeout of 0
> > and was ignored even though dns result did arrive.
> >
> > Moreover, there is a bug in Mail::SpamAssassin:ns, where
> > a late-spawned URIBL queries (which only start after Razor,
> > DCC and Pyzor are run) are being timed against start time
> > of the first wave of plain RBL dns queries, which are fired-off
> > seconds earlier, so there is a good chance that URIBL queries
> > time out in 0 seconds and their resultes are never collected.


I submitted a problem report, with a proposed patch:

http://issues.apache.org/SpamAssassi....cgi?id=3D5511

Things are much more predictable now.

Mark