问题原文
原帖链接 · KostasTrip · CC BY-SA 3.0
I am trying to figure out how configure EXIM to achieve the following.
Incoming emails to be saved on the users' mailboxes and be relayed on remote server that has the same accounts.
There are two mail servers, 1.2.3.4 on which MX records of example.com point to, and 5.6.7.8 which has the same domain.
I have inserted the following on exim conf of 1.2.3.4
redir:
driver = manualroute
domains = example.com
transport = remote_smtp
route_list = * 5.6.7.8
but this just relays the emails to the account [email omitted] on server 5.6.7.8 without keeping a copy on the existing local mailbox [email omitted].
Any ideas on how to make exim keep a copy on the first mail box?
已采纳解答
原帖链接 · Kondybas · CC BY-SA 3.0
That router should be placed before all other routers. It should be ended with the unseen verb:
redir:
driver = manualroute
domains = example.com
transport = remote_smtp
route_list = * 5.6.7.8
unseen
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
