I am trying to strip some lines from outgoing mail header. It doesn't work for me. I am not sure what I am doing wrong.
master.cf -o header_checks=pcre:header_checks.pcre header_checks.pcre /^(.*Received.*192\.168\.12\.7.*)/ IGNORE when I run postmap -q - 'Received: from exch.dom.local ([192.168.12.7]) by exch.dom.local' pcre:header_checks.pcre I get IGNORE However, this line is not removed from outgoing message. Any help is appreciated. Thanks in advance