2016-08-20 23:40 GMT+02:00 Andrea Cappelli <a.cappe...@gmail.com>: > Hi All, > I have a postfix 2.9.6 setup on Ubuntu 12.04 which serve a bounch of local > mailbox and act as mail gateway with a tcp transport > > I want to use some external authenticated MTA based on sendere domain, so >
Ok, I think I found my problem, my TCP service is called each time and always return a nexthop, so the sender based mechanism in postfix is never in action Can someone please exaplain the order of lookup in transport(5) >From which I understood local_transport, virtual_transport and relay_transport are checked (if the domain is configured in the appropriate table or in mydestination for local), if no match is found the default_transport apply The lookup is done for the sender and for the recipient, right? At which point lookups in transport_maps are applied? Thank you -- Andrea Cappelli