Ville Walveranta a écrit : > Is it possible to limit header_checks either by recipient domain or by > listening interface? I'd like to remove certain headers, but only from > specific domains. >
You can set a cleanup for each smtpd. something like this: 192.0.2.3:25 .... smtpd -o cleanup_service_name=myothercleanup ... myothercleanup unix n - n - 0 cleanup -o header_checks=pcre:/etc/postfix/myotherheaderchecks.pcre