Re: [exim] Rewrite Rcpt in copied mail

Pàgina inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
A: exim-users
Assumpte: 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