Hello, I needed to make the server's hostname available to a routine I added to mimedefang-filter, filter_end subroutine so I added "use Sys::Hostname" to mimedefang.pl just below the global variable declarations and above the first subroutine. Then I commented it out from sub get_host_name.
I want to get the hostname once and use it for each filter_end. Is that a good idea or no? Seems to be working. Or is hostname already available to me in filter_end? I don't know when get_host_name gets called and I don't want to call it for every email. Thanks in advance, Cliff _______________________________________________ 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

