http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4781

           Summary: add spf_timeout config option
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Plugins
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


Justin Mason wrote:
> "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.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to