Viktor Dukhovni:
> On Fri, Oct 03, 2014 at 08:56:30AM -0400, Ronnie Tartar wrote:
> 
> > I am doing some custom headers, specifically the Return-Path header.  But
> > Postfix strips out the header and puts the reply to address in there.

RFC 5321, section 4.4, Trace Information:

   A message-originating SMTP system SHOULD NOT send a message that
   already contains a Return-path header field.  SMTP servers performing
   a relay function MUST NOT inspect the message data, and especially
   not to the extent needed to determine if Return-path header fields
   are present.  SMTP servers making final delivery MAY remove Return-
   path header fields before adding their own.

As you see, we don't make things up. This behavior is defined by
the SMTP protocol standard.

> The header automatically records the envelope sender address on
> delivery.  You should set the envelope sender address, rather than
> attempt in vain to specify a "Return-Path" header.

        Wietse

Reply via email to