June 4 2015 4:29 PM, wie...@porcupine.org wrote: > Daniel Miller: > >> Is there a way for a policy server to validate senders using >> Postfix's built-in authentication (like meeting permit_mynetworks >> and permit_sasl_authenticated)? ?Or must the necessary checks be >> duplicated? > > Let Postfix do the permit_mynetworks, permit_sasl_authenticated etc. > valudation before invoking hte policy service: > > smtpd_xxx_restrictions = > permit_mynetworks, > permit_sasl_authenticated, > reject_unauth_destination > check_policy_service protocol:endpoint > ... > > Wietse
But doesn't the "permit_xxx" halt processing? My fault for not being specific - I want to invoke the policy service for doing header checks, or rather header removal, but only call the policy service after the other validation checks have been passed. -- Daniel