[Mimedefang] Macro Built-In Defaults / _ Macro Question

Kevin A. McGrail kmcgrail at pccc.com
Fri Jul 17 17:00:25 EDT 2009


> 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 




More information about the MIMEDefang mailing list