On 4/16/2013 7:14 AM, Vincent Lefevre wrote: > On 2013-04-16 18:47:44 +0800, Ramesh wrote: >> I've not configured third party software, content filter configured >> using header_checks = pcre:/etc/postfix/header_checks >> >> this rejects mails if any keyword defined in header_checks triggers.
single-word header filters are doomed to failure. > [...] >>> I would like to know how to white list domains bypassing content filter. > > If I understand correctly, you would like to use a different > content filter (e.g. empty) for some particular clients. I'm > also interested in something like that, and I wonder whether > this could be done via restriction classes. Postfix header_checks and body_checks are intended as a blunt instrument, and are very useful when a large hammer is needed. There is no bypass/whitelist mechanism, and unlikely one will be added in the future. For finer control, there are numerous content_filter, smtpd_proxy_filter, milters, and policy services that plug into postfix. > If this is not possible, could > this be a future feature of postfix, so that one doesn't depend on > 3rd party software? Postfix already depends on third-party software for pcre, hash/btree tables, SQL, SASL authentication, TLS, and on and on. -- Noel Jones