Re: [exim] Rewriting envelope from to header From

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] Rewriting envelope from to header From
On 12/07/17 14:46, Frank Richter wrote:
>> apache@*.mydomain ${address:$rh_from:} F
>>
>> I suspect that the wiki page is wrong, but I'm not sure.
>
> Unfortunately, this doesn't work either. Same error message:
> Rewrite of apache@??? yielded unparseable address: empty
> address in address
>
> I'm sendig with: swaks --to ... --from apache@???
> --server ... --data /tmp/mail
>
> /tmp/mail contains an e-mail with From:-Header.


What does running with "-d-all+expand+rewrite" show when you try that?

Separately, could you be using a transport "return_path" option rather
than a rewrite rule, since you're aiming at the envelope-from?
--
Cheers,
Jeremy