On Sun, Feb 28, 2016 at 06:37:29AM -0700, @lbutlr wrote: > Are there any consequences to stripping out the Received header that > contains the sender�s IP address (and usually their LAN address as well)?
It is better to anonymize the header content, than to strip it, and important to only strip headers added by your own servers, and not headers from outside. > And is adding to header_checks.pcre: > > /^Received: .*ESMTPSA.*/ IGNORE This is too crude. > Enough to strip it out, or does it need to be in mime_header_checks as > well? (I�ve found conflicting information on this in google searching.) Removing the header from nested messages will break DKIM signatures. Don't do that. header_checks = pcre:... # Empty or specifically appropriate to MIME headers and headers # of attached messages # mime_header_checks = nested_header_checks = -- Viktor.