Auteur: Marc Sherman Date: À: George Bica CC: Tony Finch, exim-users Sujet: Re: [exim] Help with "Return-Path" modification for Exim 4.41
George Bica wrote: > Hello again,
>
> does is mean adding -f like this?
>
> .... open (MAIL, "|$mail_prog -oi -t -f"); ....
>
> can injest a "fake" return-path in all sent emails if the line below
> was present, or is the "return-path" added by the receiving party?
>
> .... print MAIL qq|Return-Path: <$agent_email>\n|; ....
open (MAIL, "|$mail_prog -oi -t -f $agent_email");
and don't add a Return-Path header at all. Return-Path is an
informational header added at delivery by the _recieving_ mail server.
You can't manipulate the actual envelope-from by changing/setting it.