Re: [exim] Help with "Return-Path" modification for Exim 4.4…

Top Page
Delete this message
Reply to this message
Author: Marc Sherman
Date:  
To: George Bica
CC: Tony Finch, exim-users
Subject: 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.

And please trim your quotes and don't top-post.

- Marc