| |||||||||||||||||||||||||||||||
|
> >> > >> The policy delegation protocol informs the policy service of the > >> sasl_username, and policy servers may respond with "filter > >> transport:destination" overriding the default content filter. So, > maybe a > >> small custom policy service that sets a special filter for unauthed > >> emails > >> would suffice? > > > > I never thought about using a policy. Depending on if you needed > > detailed information within the headers and/or body, using the policy > > would be faster as specific information is passed to the policy > server > > (not the entire message). > > > > > there is no need for a policy service: > > smtpd_recipient_restrictions = > check_client_access pcre:/etc/postfix/filter_auth > permit_sasl_authenticated > check_client_access pcre:/etc/postfix/filter_mynetworks > permit_mynetworks > check_client_access pcre:/etc/postfix/filter_default > ... > > == filter_auth: > /./ FILTER scan1:blah > > == filter_mynetworks: > /./ FILTER scan2:bleh > > == filter_default: > /./ FILTER scan3:bloh > Mouss, This is real useful. I'll play around with it and see what I can come up with. Thanks, Gary
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com