Routing email to external server using EXIM smarthost config.

mhdi

Member
Sep 21, 2011
8
0
51
cPanel Access Level
Root Administrator
Thanks for the link.

I have read some documentation as well and I have tried adding "local_parts = user". It seems to be working even though I wasn't expecting it too!

smarthost:
driver = manualroute
domains = domain.com.au
local_parts = user
unseen
transport = remote_smtp
headers_add = X-Custom-Forwarded: true
condition = ${if match {$h_X-Custom-Forwarded:}{true}{false}{true}}
route_data = "ASPMX.L.GOOGLE.COM"