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. 
[...]
> > 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.

For instance, I have:

smtpd_recipient_restrictions =
  permit_mynetworks,
  reject_unauth_destination,
  check_client_access hash:/etc/postfix/rbl_override,
  check_recipient_access hash:/etc/postfix/recipient_access,

where /etc/postfix/recipient_access contains:

some_user@some_domain ensl

and main.cf also contains:

smtpd_restriction_classes = ensl
ensl = check_sender_access hash:/etc/postfix/ensl

So, one can specify different access rules depending on the client
or recipient. I would like to know whether it is also possible to
specify different content filters (header_checks, mime_header_checks,
nested_header_checks, body_checks). If this is not possible, could
this be a future feature of postfix, so that one doesn't depend on
3rd party software?

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to