Use local route for a single cPanel Account and another for rest of the accounts

unni9946

Registered
Nov 13, 2013
3
0
1
cPanel Access Level
Reseller Owner
Hi,

I am using amazon ses to relay my mails. But now, I dont want to use SES for one of the Cpanel Accounts in the WHM.

My entries are similar to the following
begin authenticators


ses_login:
driver = plaintext
public_name = LOGIN
client_send = :
===========
begin routers


send_via_ses:
driver = manualroute
domains = ! +local_domains
transport = ses_smtp
route_list = * email-smtp.us-east-1.amazonaws.com
========
begin transports

#entry for amazon
ses_smtp:
driver = smtp
port = 25
hosts_require_auth = $host_address
hosts_require_tls = $host_address
Entry is something like the above entry. How can i resolve this?

How can I avoid mails for a particular cpanel (domain) to use local route.
 

unni9946

Registered
Nov 13, 2013
3
0
1
cPanel Access Level
Reseller Owner
Hi,

Thanks for the reply. My need is different from what is in the post. This says to use specific domains for a transport. I just want to use one of my cPanel account to use local ip and others to route through SES.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
You would have to setup a a custom ACL rule to ensure only specific domain names are routed through SES. You may want to consult directly with Amazon to see if they can assist you with that. Otherwise, assuming there is no additional user-feedback, you may want to consult with a system administrator that can assist you with setting up that type of custom rule.

Thank you.