Roderick A. Anderson a écrit :
> Roderick A. Anderson wrote:
>> Roderick A. Anderson wrote:
>>> My understanding, from following several threads here and some
>>> research, is the return-path is transmitted out-of-band in the SMTP
>>> MAIL request and placed in the message by the LDA.
>>>
>>> How would a proxy determine the value(s) that will be used to create
>>> the Return-Path?
>>
>> Sahil, Victor;
>>
>> Thank you for your quick responses.  You explanations make my
>> understanding more concise.
>>
>> A little more reading about AMIL FROM on the Postfix site and I think
>> I'm on my way towards building the proxy I need.
> 
> Besides the typo above (MAIL FROM) I forgot to ask is there an example
> of how a message is formatted on it's way into the proxy?
> 
> I only need to look at the MAIL FROM, the message Subject header, and
> possibly another message header.  Content isn't needed.
> 
> 

you need to read about how SMTP works. it goes like this:

EHLO joe.example.com
...
MAIL FROM:<sen...@example.com>
...
RCPT TO:<virgi...@example.net>
...
DATA
...
header_1: value_1
header_2: value_2
...

body blah blah
.
QUIT



so the message (including the headers) is passed after the DATA command.
 the envelope sender is passed in the MAIL FROM: command. it may end up
ina Return-Path header, but as already said, this is config-dependent.

Reply via email to