I'm looking to set up Postfix to route emails from domaina.com to Gateway A, but if the email contains any other domain, I'd like it to be sent to Gateway B instead.
I was wondering if it's possible to implement this logic in the transport map. Here's what I have in mind:
abc.com smtp:gateway1.server.123.com
(abc.com + "*") smtp:obgw.123.com
"*" smtp:obgw.123.com
I really want to avoid splitting the email traffic into two, especially when obgw.123.com can deliver to abc.com accounts as well.
If you have any insights or solutions, I'd love to hear from you.
Thanks a lot, Dub