I can use

smtpd_end_of_data_restrictions=check_policy_service unix:private/policy

just fine in the main.cf. However this has the drawback that i need to
add

-o smtpd_end_of_data_restrictions=

to each filter in the master.cf which should not use the policy service again.

When i try to only set the policy service once for the SMTP entry i.e.

:smtp   inet    n       -       n       -       10       smtpd
-o content_filter=smgw:[127.0.0.1]:10025
-o smtpd_end_of_data_restrictions=check_policy_service unix:private/policy

postfix complains about an invalid syntax (probably due the space between 
policy server and unix:private/policy)

postfix/smtpd[808]: fatal: unexpected command-line argument: unix:private/policy

Why can i reset the mtpd_end_of_data_restrictions in the master.cf - but not 
set them?


      

Reply via email to