Dnia 12.01.2023 o godz. 13:49:33 post...@ptld.com pisze:
> My solution...
> 
> main.cf:
>     smtp_header_checks = pcre:/etc/postfix/header_checks_smtp
> 
> 
> /etc/postfix/header_checks_smtp:
>     /^Received:/           IGNORE
>     /^X-Originating-Ip:/   IGNORE

If you do it in master.cf for submission services only, it my be OK. But as
a general default in main.cf it's definitely wrong. You strip all Received:
headers from all incoming mail, thus you are unable to investigate the
details in case of any mail problems (eg. you are receiving spam or messages
with fake sender address).
-- 
Regards,
   Jaroslaw Rafa
   r...@rafa.eu.org
--
"In a million years, when kids go to school, they're gonna know: once there
was a Hushpuppy, and she lived with her daddy in the Bathtub."

Reply via email to