On Wed, 29 May 2019 at 03:36, VB <bandar...@pg.com> wrote: > Hello All , Looking for a suggest > > As most of you might have come across the need to route email based on > sender address / domain , we got into it as well and looking for help : > > after some reading we tried to configure : > > sender_dependent_default_transport_maps = > hash:$config_directory/sender_dependant_relayhost_maps.db > > in the main.cf file to achieve this . > > with the maps layed out this way > > sender_dependant_relayhost_maps.db >> > > senderDomain1 smtp:Anti-Spam_Gateway1 > senderDomain2 smtp:Anti-Spam_Gateway2 > > > however the instance continues to deliver email via the internet route Vs > route via a GW . > > i have not disabled transport_maps as we are using it to give direction to > incoming NDRs in a multi instance setup. > > do these attributes conflict / override , or should a instance has only any > one of these configured. > > + should this be configured in master.cf Vs main.cf
As I read it, default_transport can be overridden by sender_dependent_default_transport_maps which can in turn be overridden by transport_maps.