But you are already given the result of Sendmail's reverse-lookup in the
$hostname argument to filter_relay and friends, and it's in the
$RelayHostname global variable after filter_begin.
Thanks. Might be good to document that in the macros portion just for other
poor saps like me who stupidly try and reinvent a wheel.
But even if you make a duplicate DNS lookup, it should be fast because
the answer is cached (you ARE running a caching DNS server, right? :-))
Of course ;-) but I don't cache nxdomain's which adds 30 seconds to the
process.
Regards,
KAM
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang