Route for a particular account
Hello Support,
I am using two different SMTP relay service for sending the emails from my cpanel and have configured the exim configuration as below. So as per below codes, all my emails which is sent to Gmail.com will go from mailgun's smtp server.
Routerstart :
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.mailgun.com
Transportstart:
remote_smtp_smart_gmail:
driver = smtp
port = 25
interface = <; 198.8.8.8
Now, I need to set this for a single user like this rule should work only for user - Removed - and rest gmail.com email will go from the default smtp.
Please suggest. How can I achieve this.
Thanks so much.
-
Hi Support, My question is ,can I just replace like this . Current "route_list = gmail.com mail.mailgun.com" Can I set it to " route_list = someusr@gmail.com mail.mailgun.com " Please confirm. 0
Please sign in to leave a comment.
Comments
2 comments