Michael Fromme <fromme@...> wrote: > I understand that a DNS lookup may take too long (server not responding ...) > but then it would be nice if I could specify a timeout after > which milter-greylist would continue with the next racl line, and > it would be nice to know which sendmail configuration fits. We could have optionnal timeout and retry settings at the end of dnsrbl definitions, for instance dnsrbl "test" rbl.example.net 127.0.0.2/32 timeout 5s retry 3 After res_ninit has been called in dnsrbl.c, you'd just need to set res.retrans and res.retry according to the setting Would you like to contribute that feature? It's quite straightforward. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz manu@...
Message
Re: [milter-greylist] dnsrbl and Milter (greylist): timeout before data read
2007-04-17 by manu@netbsd.org