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 please share anything that has worked for you . Thank you , -- Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html