Konstantin Kletschke: > Hi, > > I wonder if there is a mechanism to implement a function to whitelist > mime_header_checks or not.
Postfix header/body_checks are blunt tools, primarily to block known bad email that no-one should receive. For fine-grained content management, use amavisd-new, perhaps as a before-queue content filter (smtpd_proxy_filter). It supports different policies for different email contexts. Yes, it is possible to use different header/body_checks on different IP addresses. Unfortunately, I do not have time to debug configurations based on fragments. Wietse