Re: [exim] Rewrite Rcpt in copied mail

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] Rewrite Rcpt in copied mail
On 27/04/2020 14:12, Kai Bojens via Exim-users wrote:
> I want to archive every outgoing mail for customer "foobar". This would
> be easily achieved by using a manualroute and "unseen" which sends all
> mails to the archive server.
>
> The archiving software on the other hand expects all mails to have the
> Recipient replaced with foobar@??? instead of the
> original recipient.


Assuming you're talking about the envelope sender, as opposed
to the headers:

ensure it goes outbound via a transport with "return_path" set
to your requirement.
--
Cheers,
Jeremy