Auteur: Jeremy Harris Date: À: exim-users Sujet: Re: [exim] Router only once per message?
On 23/01/15 17:51, Robert Blayzor wrote: > I'm trying to create a router that would only ever be used ONCE per message, no matter how many recipients...
>
> This is just an attempt to copy/clone a message from a sender to another Maildir. It works, but if the message has 50 recipients (CC, BCC, etc) the message is duplicated and saved 50 times.
> perhaps this could be done at the transport level but I don't think there is a way to have a conditional transport... ideas?
Not tried, but if you use a redirect router to route to
original-recipient + dummy-account (and have the dummy-account
set up for the required Maildir) - does it dedup in the
multi-recipient case?
--
Cheers,
Jeremy