i want to hide ( Received and my ip ) in my header but didint want to hide ! what the secret to hide Received and my ip in my header because itry more time in header_check but didint want to hide? pls help what the secret to hide ? or what the version postfix you can hide Received and my ip ?
What did you try which wasn't working? A pcre or regex map from header_checks should be able to do that, eg. Code: smtp_header_checks = pcre:/etc/postfix/smtp_header_checks with Code: /^Received: .*/ IGNORE in the smtp_header_checks file. Note that you almost surely don't want that on your incoming mail on port 25, only mail which you send via port 465 or 587, so instead of setting smtp_header_checks right in main.cf, you configure those two services in master.cf, eg. see https://serverfault.com/a/998993 for how.
i have try this but Received and my ip still didnt hide , what is version postfix that allow hide Received and my ip pls ?