* On 05.03. Noel Jones muttered: > The solution is to define an alternate cleanup service for "submission", > and then define alternate header_checks for that cleanup
I have a similar problem like the OP: I want to delete a header only if a mail is delivered non-locally. So I tried to tell smtp to use another cleanup service, but the header is still not stripped off: /etc/postfix/master.cf: smtp unix - - - - - smtp -o cleanup_service_name=cleanup_out cleanup_out unix n - - - 0 cleanup -o header_checks=pcre:/etc/postfix/header_checks /etc/postfix/header_checks: /^X-Test:/ IGNORE I called postmap header_checks and postfix reload. I left main.cf unchanged. What should I do to get rid of the header in non-local mails? Thanks! Til