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|;
....
I fond some documentation at
http://www.exim.org/exim-html-4.10/doc/html/spec_13.html#IX929 regarding return_path_remove
but it seems like it works for received emails, not sent ones.
Quote below:
return_path_remove
Type: boolean
Default: true
RFC 2821, section 4.4, states that an SMTP server must insert a Return-path: header line into a message when it makes a "final delivery". The Return-path: header preserves the sender address as received in the MAIL command. This description implies that this header should not be present in an incoming message. If return_path_remove is true, any existing Return-path: headers are removed from messages at the time they are received. Exim's transports have options for adding Return-path: headers at the time of delivery. They are normally used only for final local deliveries.
George
-----Original Message-----
From: fanf2@??? [
mailto:fanf2@hermes.cam.ac.uk]On Behalf Of
Tony Finch
Sent: Friday, February 11, 2005 9:56 AM
To: George Bica
Cc: exim-users@???
Subject: Re: [exim] Help with "Return-Path" modification for Exim 4.41
On Fri, 11 Feb 2005, George Bica wrote:
>
> as you can see I am trying to modify the "Return-Path" to have <> or
> $agent_email instead of $FROM_OUR_EMAIL_ID which is exim@???.
You need to use the -f option on the Exim command line. The return path
exists in the message envelope, and is only added to the message header on
final delivery. Before then it is stripped: see the documentation for
return_path_remove.
Tony.
--
<fanf@???> <dot@???>
http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}