relay some domains to smart host but not all

bobster

Registered
Mar 4, 2014
3
0
1
cPanel Access Level
Root Administrator
Hi,

Currently exim is configured to relay all outgoing mail for all domains to a smart host. I would very much like to exclude 1 domain from using the smart host and use the local server instead.

After hours of searching I have not found a solution yet. I am hoping someone here can point me in a direction.

Here is my exim config for relaying to smart host:

@[email protected]
smart_route:
driver = manualroute
domains = !+local_domains
transport = remote_smtp
route_list = * smart.host.ip

Thanks
 

bobster

Registered
Mar 4, 2014
3
0
1
cPanel Access Level
Root Administrator
Hi all,

Just want to close this thread as successful. In case somebody else in need finds it. The above link worked perfectly for me. Thanks Michael for pointing it out.

I posted one or two modifications that was needed for me in that post.