OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Mail server in loopback network (fairly common?)

From: Bill Cole (postfixlists-070913billmail.scconsult.com)
Date: Fri Sep 26 2008 - 11:14:14 CDT


Juan Miscaro wrote:
> 2008/9/25 Brian Evans - Postfix List <grknightscent-team.com>:
[...]
>> The Problem the OP appears to fall into is that mail coming from outside
>> the mynetworks is being trapped to do a "local" DNS MX/A record.
>> It is probably pointing mail to the "example.com" as 127.0.0.1 (not
>> uncommon).
>
> It points mail for the domain to the local server's FQDN. And that
> translates to localhost because of entries in /etc/hosts.

Don't map your FQDN to 127.0.0.1 in your hosts file. Your FQDN should
resolve to your primary non-loopback IP address.