Jason Lancaster: > Hello, > > I'm looking for a way to map senders with different sending reputation > to specific destination ports (that will eventually be mapped to > different sending IPs by the firewall) without hardcoding the nexthop. > > sender_dependent_default_transport_maps are working great for setting > the transport but I haven't been able to figure out how to go from > there to specifying destination port per transport in master.cf.
You can override things with transport:domain:port and domain:port, but there is nothing to override a destination port without domain. And that is simply because such code has not been written yet. Possible avenues: allow transport::port and :port, or create the 'smtp' equivalent of lmtp_tcp_port. Wietse