[Mimedefang] X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1

Alex S Moore asmoore at edge.net
Sat Oct 30 08:44:55 EDT 2004


On Sat, 2004-10-30 at 00:20 -0400, David F. Skoll wrote:
> Do the two that think they're 127.0.0.1 have proper host names that resolve
> to a real IP address?
> 
> The algorithm that adds the IP address works like this:
> 
> 1) If the Sendmail macro ${if_addr} is not 127.0.0.1, use that.
> 
> 2) Otherwise, use whatever gethostbyname(gethostname()) returns as the
>    machine's IP address.

I am also seeing 127.0.0.1.  Using Solaris 9.  I generate some headers
in my filter and use get_host_name() and it works as expected.

Alex





More information about the MIMEDefang mailing list