I try to set up a postfix instance to use sender_based_routing on CentOS6 (but that does not really matter I guess). I just yummed postfix and it works. This is the addition I made for getting sender_based_routing to work:
# CUSTOM
sender_based_routing = yes
transport_maps = hash:/etc/postfix/transport
My transport file looks as follows:
domain1.nl smtp:[10.0.8.15]
domain2.nl smtp:[10.0.8.15]
* smtp:[10.0.8.14]
It always uses the wildcard '*' and all gets routed to 10.0.8.14.
Do I need to specify the complete mail route or just a domain name? I thought the latter was sufficient.
Anyone an idea??
Thanks!
Ronald
Update : When I send 'To' the domain listed in the transport file, then it gets routed through the 10.0.8.15. Have I specified sender_based_routing wrong or do I need an option somewhere else??
Thanks!