OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Force otherwise local address to be considered non local

From: Noel Jones (njonesmegan.vbhcs.org)
Date: Tue Mar 03 2009 - 19:35:53 CST


Daniel L. Miller wrote:
> Noel Jones wrote:
>>
>>> ------- Original Message -------
>>> From: "Daniel L. Miller" <dmilleramfes.com>
>>> Would I do this using the transport_maps? Something like:
>>> myuserotherdomain.com smtp:[192.168.0.72]:25
>>> --
>>> Daniel
>>>
>>>
>>
>> yes, exactly.
>>
>> Sounds like a firewall problem.
>>
>> -- Noel Jones
> Ok - wasn't quite that simple. I added the transport line - but now I
> have the new server complaining about "loops back on myself".
>
> If the transport specifically says which server to use, and the target
> server is the designated local/virtual server for that domain - where's
> the loop?
>

Probably because the destination server answers with the same
hostname. Postfix detects this as a loop.

To fix this, change either smtp_helo_name on the sending
client, smtpd_banner on the receiving server, or myhostname on
either.

   -- Noel Jones