Postfix – Different Header Checks for Incoming and Outgoing Mail

emailpostfixsmtp-headers

How can I apply different header_checks for incoming and outoing mail using postfix?

By default, all header_checks are applied to both incoming and outgoing.

Best Answer

header_checks is done by cleanup so I don't think you can apply it only for incoming or outgoing.

smtp_header_checks is applied only for outgoing mail (smtp client)