On Mon, 27 Jul 2020, Johnnie W Adams via Exim-users wrote:

I'm a bit slow some days, so let me ask a slightly different question:

Given that we have a small subset of our mail going to an on-prem SMTP
server, and given that mail is sent via manualroute, how would I duplicate
that stream of mail and send it to a second server? The gist of the entry
is:

on-prem-server:
 driver = manualroute
 domains = ualr.edu
 transport = remote_smtp
 local_part_suffix = +*
 local_part_suffix_optional
 condition = {it's complicated and irrelevant}
 hosts_randomize = true
 route_list = * on-prem-server-1.ualr.edu
 no_more

It's trivial to redirect the mail. It's not obvious to me how to duplicate
it.

You want *two* routers with the same condition.
The first should set the option "unseen", only the second should set "no_more".
See spec.txt Chapter 3.10 Running an individual router.

--
Andrew C. Aitchison                                     Kendal, UK
                        [email protected]

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to