On 8/22/2012 2:14 AM, an...@isac.gov.in wrote: > Dear List, > > I have this in my main.cf > > smtpd_end_of_data_restrictions = > check_policy_service inet:127.0.0.1:9998 > > > This basically checks for mail size and allows/not allows a mail > based on contents of a file. > > Is there a way to say, not to use this policy service, based on some > headers of a mail? >
You can skip the policy based on envelope information by using a check_*_access map before the policy check. You could also likely do this inside the policy server itself. You cannot skip it based on headers. -- Noel Jones