Exim manualroute for system account emails?

OpenInternet-Vince

Registered
Oct 28, 2019
1
0
1
Canada
cPanel Access Level
Root Administrator
I have my system configured to route outbound emails via smarthost. That is fine.

However, for system emails ([email protected]) that is sent via php mail(), I would like it to route via the server instead.

I have the following router setup, but can't get it route properly

The smarthost_senders_users is a

Code:
domainlist smarthost_senders_users = wildlsearch;/etc/usernames
In /etc/usernames/,

it's individual cpanel user names,

Code:
aaa
bbb
ccc

Code:
dedicated_route:
driver = manualroute
transport = remote_smtp
#domains = !+local_domains
senders = [email protected]
route_list = *
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,298
1,279
313
Houston
Hello,


My initial assumption is that it's not able to use [email protected] - I wonder if using *@host.name.tld would work for this but for the best advice I'd suggest the Exim User's mailing list or a qualified system administrator:


There are a number of threads on similar subjects (exim manualroute for one specific sender) you might get some useful information from those as well, for example:


Thanks!