postfix 2.6.6 / always_add_missing_headers behavior question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

postfix 2.6.6 / always_add_missing_headers behavior question

Aaron Bennett

Hello,

 

I’m confused by the docs at http://www.postfix.org/postconf.5.html#always_add_missing_headers, to wit:

                “Always add (Resent-) From:, To:, Date: or Message-ID: headers when not present. Postfix 2.6 and later add these headers only when clients match the local_header_rewrite_clients parameter setting. Earlier Postfix versions always add these headers; this may break DKIM signatures that cover non-existent headers.”

 

With 2.6.6, will it “always” add those headers if they are missing, or only if they are missing AND the clients match the local_header_rewrite_clients parameter?

 

Thank you for your time,

 

Aaron

 

 

---

Aaron Bennett

Manager of Systems Administration

Clark University ITS

 

Reply | Threaded
Open this post in threaded view
|

Re: postfix 2.6.6 / always_add_missing_headers behavior question

/dev/rob0
On Wed, Mar 21, 2018 at 07:06:33PM +0000, Aaron Bennett wrote:

> I'm confused by the docs at
> http://www.postfix.org/postconf.5.html#always_add_missing_headers,
> to wit:
>                 "Always add (Resent-) From:, To:, Date: or
>                 Message-ID: headers when not present. Postfix 2.6
>                 and later add these headers only when clients match
>                 the local_header_rewrite_clients parameter setting.
>                 Earlier Postfix versions always add these headers;
>                 this may break DKIM signatures that cover
>                 non-existent headers."
> With 2.6.6, will it "always" add those headers if they are missing,
> or only if they are missing AND the clients match the
> local_header_rewrite_clients parameter?

2.6.6, though many years past EOL, is indeed later than 2.6, so WHEN
[the listed headers are] NOT PRESENT they are added ONLY WHEN CLIENTS
MATCH THE local_header_rewrite_clients PARAMETER SETTING.  That's the
default setting of "no" for always_add_missing_headers.

The Postfix 2.5 and prior behavior was to ALWAYS add these headers if
missing, regardless of the client address.
--
  http://rob0.nodns4.us/
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:
Reply | Threaded
Open this post in threaded view
|

RE: postfix 2.6.6 / always_add_missing_headers behavior question

Aaron Bennett

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


>2.6.6, though many years past EOL, is indeed later than 2.6, so WHEN [the listed headers are] NOT >PRESENT they are added ONLY WHEN CLIENTS MATCH THE local_header_rewrite_clients >PARAMETER SETTING.  That's the default setting of "no" for always_add_missing_headers.
>
>The Postfix 2.5 and prior behavior was to ALWAYS add these headers if missing, regardless of the >client address.

Thank you.