Problem: an email server has a couple of local user accounts defined but the remaining users are handled by another server. How to route email to them?
Edit exim.conf. The last rule of the routing configuration should have the term
cannot_route_message = Unknown user
in it to bin messages that cannot be delivered. Comment that line out and add the following clause as the last routing term:
#
# pcw: route users in the local domain but not on this server to gateway
#
send_to_gateway:
driver = manualroute
domains = +local_domains
transport = remote_smtp
route_list = * gateway.mycompany.com
cannot_route_message = Unknown user
|