On 2 Oct 2020, at 17:57, Patrick Porteous via Exim-users <exim-users@???> wrote: > Maybe Exim isn't the right tool to accomplish this?
Is the right answer :)
Your question falls squarely into Exim's "just because you can, doesn't mean you should" category. Exim is designed to lift and shift, it isn't built to modify despite having some capability to do that.
Look at something you can do a pipe delivery to, like procmail or something that you write (elegant and modern, or using something brutally efficient like sed), to do the disarming.