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

Top Page
Delete this message
Reply to this message
Author: George Bica
Date:  
To: Marc Sherman
CC: Tony Finch, exim-users
Subject: RE: [exim] Help with "Return-Path" modification for Exim 4.41
-----Original Message-----
> Hello again,
>
> does is mean adding -f like this?
>
> .... open (MAIL, "|$mail_prog -oi -t -f"); ....
>
> can inject 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 _receiving_ mail server.
You can't manipulate the actual envelope-from by changing/setting it.

-----Original Message-----

Thank you Marc for your explanation. It seems like "Return-Path" is out of my reach. I wanted to see what you guys would suggest as an alternative to controlling bounced emails. We currently get 300-1000 per day. Most of them involve mistyped email addresses that should go back to the agents, so they can fix them.

George