Re: [exim] exim4 rewriting - need a hint

Top Page
Delete this message
Reply to this message
Author: Jasen Betts
Date:  
To: exim-users
Subject: Re: [exim] exim4 rewriting - need a hint
On 2019-01-24, Lars Schimmer via Exim-users <exim-users@???> wrote:

> Now the server at user1@??? has a SPF setup which refuses
> the emails (sure, a alias does not rewrite anything).
>
> I want to rewrite the envelope-from of the outgoing mail to
> user1@???, but not for the local sieve script.


> The basic rewrite rule seems to be easy, but where do I put it best with
> which condition best?


I don't think you can do that with a rewrite rule, you'll probably have
do it the hard way by setting "errrors_to" in the router or transport
responsible for the SMTP delivery.

--
When I tried casting out nines I made a hash of it.