I am looking to use exim on a 'frontend' simply to hide the IP of the true backend mail servers. This exim configuration will server for multiple domains. Really what I am looking for is confirmation that the setup I have made will work.
I have installed and configured exim routers as follows
# Setup Static Configuration Route
static_route:
driver = manualroute
transport = remote_smtp
route_data = ${lookup{$domain}lsearch{/etc/staticroutes}}
The /etc/staticroutes file then looks like
domain1.com: x.x.x.x
domain2.com: x.x.x.x
So in theory any mail going to this mail server for example [email protected] will then be forwarded to the backend mail server to [email protected]. Will this work as I expect?
Look forward to hearing your responses.
Thanks in advance (And after ofcourse), Chris.