On 3/26/2014 3:59 PM, MV wrote:
>> Wietse wrote:
>>> MV wrote:
>>> I'm trying to use multiple smtp IPs without having multiple postfix 
>>> instances.
>>>
>>> So I tried to split smtp using transport_maps and that works ok for
>>> local mail destined to foreign destinations.
>>> But it breaks the delivery of foreign mail destined to local
>>> destinations with the error "mail for example.com loops back to
>>> myself".
>>
>> Don't route LOCAL destinations to the "smtp" delivery agent.
>> The SMTP client is for REMOTE deliveries.
> 
> I guess this should've been my initial question:
> how can I add a transport to REMOTE deliveries only?
> 
> Marcus
> 


I see.  You're using a TCP based table for your transport_maps and
it's incorrectly answering for local addresses too.

Don't do that.  Configure your TCP table ignore local addresses. In
the context of a TCP table, the response should be something like
500 not found



  -- Noel Jones

Reply via email to