OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: why does postfix say helo=<127.0.0.1>? [SOLVED]

From: Bill Cole (postfixlists-070913billmail.scconsult.com)
Date: Wed Dec 19 2007 - 08:30:29 CST


At 12:36 PM +0100 12/19/07, mouss wrote:
>AlxFrag wrote:
>>Erwan David wrote:
>>>Le Wed 19/12/2007, AlxFrag disait
>>>
>>>>Thanks for the help. I blamed postfix for saying helo=127.0.0.1.
>>>>After a more careful investigation i realised that my thunderbird
>>>>mail client says helo using the loopback device, don't know why.
>>>>
>>>
>>>Normal if you configured it to use localhost as outgoing server.
>>>
>>>
>>As outgoing SMTP server i've specified the domain name of my mail
>>server, not the localhost.
>
>The question is to which IP it connects? If it connects to
>127.0.0.1, it will use [127.0.0.1].
>
>The problem is that MUAs don't offer a way to chose the helo name,
>and even if they did, how many people would know what that means. On
>windows, many MUAs use the NetBIOS name (even some servers do;-p).
>using a literal IP is still better (it's valid according to the
>RFCs).
>
>but MUAs use an MSA to send their mail, so nobody should care about
>their helo.

That's not really a valid excuse. Some MUA's (e.g. Eudora) have ways
to set the HELO name they use and there are reasonable strategies for
figuring out a non-braindead HELO most of the time. *ANY* MUA can be
smart enough to never use '[127.0.0.1]' and there's always some
better choice: either 'localhost' for connections on the loopback or
an IP literal matching the IP used for the connection (which is
better than a loopback IP literal even if it is an address that is
going to get NAT'ed into irrelevance.)

--
Bill Cole
billscconsult.com