Re: [exim] rewrite envelope from when forward

Top Page
Delete this message
Reply to this message
Author: Johannes Vogel
Date:  
To: exim-users
Subject: Re: [exim] rewrite envelope from when forward
Hi

Am 07.09.20 um 13:23 schrieb Jeremy Harris via Exim-users:
> On 06/09/2020 21:04, Johannes Vogel via Exim-users wrote:
>> When I forward an address to an @bluewin.ch address, they bring back an
>> error like this:
>>
>> SMTP error from remote mail server after end of data:
>> 554 5.2.0 sc971: SPF hard fail
> Yes, SPF breaks forwarding.
>
> Option "return_path" on the transport:
>
> http://exim.org/exim-html-current/doc/html/spec_html/ch-generic_options_for_transports.html


Thank you for the hint! But I don't know what content I should assign.

In my example I'd like to set the to address of the forwarded mail.

original message: mike@??? --> lisa@???
new envelope: lisa@??? --> lisa@???
new mail header: mike@??? --> lisa@???

Is the information of the original to address at this moment available?
Does this solve my problem with SPF?

Best regards,
Johannes