Jan Johansson: > A customer is migrating their mail environment, and in the interim a bit of > trickery is needed. > > They are currently using a Postfix+Mailscanner machine as a gateway per the > http://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall > > Now, how would I realize a scenario where SOME users of a domain is to be > directed to 172.31.254.160 and SOME to 172.31.254.150? >
/etc/postfix/main.cf: transport_maps = hash:/etc/postfix/transport /etc/postfix/transport: someu...@example.com smtp:[172.31.254.160] otheru...@example.com smtp:[172.31.254.150] # postmap /etc/postfix/transports # postfix reload Wietse