[Mimedefang] relay_is_blacklisted_multi questions

Troy Carpenter troy at carpenter.cx
Fri Sep 24 11:57:24 EDT 2004


David,

I was looking at implementing the new relay_is_blacklisted_multi function
in my filter.  Using the man page to do this it defines the functions as:

relay_is_blacklisted_multi($relay, $timeout, $answers_wanted,
       [$domain1, $domain2, ...], $res)

But in the example:

$ans = relay_is_blacklisted_multi($RelayAddr, 8,
                  ["sbl.spamhaus.org", "relays.ordb.org"]);

I think the $answers_wanted parameter is missing from the example.


Secondly, when the $answers_wanted number is reached, do all the other
RBLS return SERVFAIL or NXDOMAIN? I have seen both in the lists I have
tried, but I want to be able to discern which lookups returned clean
results vs. which lookups were abandoned.

Thanks,

Troy Carpenter
troy at carpenter.cx




More information about the MIMEDefang mailing list