-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Daryl C. W. O'Shea" writes:
> On 02/02/2006 10:50 PM, Jason Haar wrote:
> > I'm noticing a lot of SPF (and DK) lookups fail on our network (dbg:
> > spf: lookup timed out after 5 seconds) due to New Zealand being in the
> > wrong galaxy: Quite often, DNS TXT records appear to like taking >5 sec
> > to respond.
> > 
> > Now I see in SpamAssassin/Plugin/SPF.pm the following line:
> > 
> > my $timeout = 5;
> > 
> > Shouldn't that be using the DNS timeout set aside for all RBL queries?
> > i.e. do the "do the DNS lookups ASAP and wait until the end to check the
> > responses"? (i.e. more like 15 seconds)?
> 
> Should it be configurable?  Probably.  It has to be a different timeout 
> setting than the rest though as it's a timeout on the call to 
> Mail::SPF::Query which could do multiple DNS lookups if necessary 
> (SpamAssassin itself doesn't handle the DNS queries for the SPF txt 
> records).
> 
> Feel free to open a bug.

Daryl's spot on, so this is definitely a good idea ;)

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFD45RyMJF5cimLx9ARAseWAJ9TwRTInx0D9KAFmdvEN78ORL/4QwCfcWU/
qvLfsvxyDmsxmA/dG4oImys=
=QZ7j
-----END PGP SIGNATURE-----

Reply via email to