Re: [exim] Rewrite Rcpt in copied mail

Top Page
Delete this message
Reply to this message
Author: Shamim Shahriar
Date:  
To: exim-users
Subject: Re: [exim] Rewrite Rcpt in copied mail
On 27/04/2020 14:56, Kai Bojens via Exim-users wrote:
> Am 27.04.20 um 15:38 schrieb Evgeniy Berdnikov via Exim-users:
>
>> Doesn't "unseen" flag for redirect router work?
> I don't think so. Right now I'm using …
>
> driver = manualroute
> (…)
> route_list = * "archive.company.tld::25"
>
> … in order to send these mails to this specific server. In my
> understanding "redirect" only manipulates the adressess but could not be
> combined with the specific route to this archiving server.
>


It may be worth looking into sieve filter
(https://www.exim.org/exim-html-current/doc/html/spec_html/ch-systemwide_message_filtering.html)

You can use conditionals -- to, from, subject, body -- whatever you
want. You don't even need to change much on the existing exim routers
and transports. Also, you can set it to deliver to
foobar@??? on the filter itself. Search for examples --
there are loads of them.

Hope this helps.