Need help to setup the exim routing

Azim

Well-Known Member
Oct 16, 2015
67
0
6
India
cPanel Access Level
Website Owner
Hello,

I am using WHM/cpanel for sending the email and have done some custom settings in the exim configuration/advance editor in WHM.

So basically I am using two different SMTP provider for relaying my emails and as per the below routing, if any email forwarding is done for @gmail.com then it will go from other smtp relay service.

Now, I need to do it for a single user.So please suggest how can I do that.

My current config for domain,

smarthost_gmail:
driver = manualroute
domains = !+local_domains
senders = !*@server.domain.com
# Exclude null sender messages from relaying via the smarthost
condition = ${if or {{!eq{$sender_address}{}} {!eq{$sender_host_address}{}}}}
transport = remote_smtp_smart_gmail
route_list = gmail.com mail.smtprelay.com
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463