Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] dnsrbl and Milter (greylist): timeout before data read

2007-04-17 by manu@netbsd.org

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@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.