Routing email to external server using EXIM smarthost config.
Hi,
I want to route one email address "email@domain.com" to "aspmx.l.google.com". All other email addresses for that domain should be delivered locally.
The following thread explains how to do this for an entire domain. But how do I do it for just 1 email?
-
Hello :) I am not sure this is possible on a per-email-account basis. However, there are references to a possible solution in the following thread: Smart Host Routing for specific email account Thank you. 0 -
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! [QUOTE]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" 0
Please sign in to leave a comment.
Comments
2 comments