On 5/7/2012 8:58 PM, Joe wrote: > Hello list - > > We have some fairly involved routing requirements, and have been > using a script that creates a transport table from a number of > source files. It's been working well for some years, but now we have > a need for sender-dependent transport rules. We periodically creates > the sender_dependent_default_transport_maps, which appeared to work > perfectly, but then we discovered that the transport table overrides > sender-dependent transport - exactly as documented. > > We have a requirement for sender-dependent transport rules that > override everything else. I thought of setting up another postfix > instance just to handle the sender-dependent transport before > handing it off to either the current smtp server or one of the > designated transports, but it seems like overkill. Is there any > other way to make sender_dependent_default_transport_maps take > priority over the transport table?
The transport priority order is not configurable. I suppose you could use a check_sender_access map that returns FILTER transport:nexthop for the target senders. Note this solution is only useful with mail submitted via SMTP and is incompatible with an after-queue content_filter (unless you do some master.cf gyrations). -- Noel Jones