[Mimedefang] value of $RelayHostname

kamal kamalnee at iitk.ac.in
Mon Mar 22 14:26:06 EST 2004


In filter_end, I want to know whether reverse DNS lookup had succeeded.
So I check the value of $RelayHostname. The man page says that it "May
be undef if host name could not be determined". But in my case, (when
reverse DNS fails) the value is IP address surrounded by square
brackets. Of course, I can check for this, but is this behaviour
guaranteed? Can anyone please explain what determines the value of
$RelayHostname?
Thanks.



More information about the MIMEDefang mailing list