Hi, I have a client that uses Office 365, and I need to route the output of a single address from a user to the Office 365 server.
I have this configuration in EXIM
static_route:
driver = manualroute
domains = ! +local_domains
ignore_target_hosts = 127.0.0.0/8
condition = "${perl{check_limits}}"
route_data = ${lookup{$domain}lsearch{/etc/virtual/staticroutes}}
In /etc/virtual/staticroutes
[email protected]: externalXXX.server.com
I have this configuration in EXIM
static_route:
driver = manualroute
domains = ! +local_domains
ignore_target_hosts = 127.0.0.0/8
condition = "${perl{check_limits}}"
route_data = ${lookup{$domain}lsearch{/etc/virtual/staticroutes}}
In /etc/virtual/staticroutes
[email protected]: externalXXX.server.com