On 3/21/2013 9:49 AM, Titanus Eramius wrote:
I have set Postfix only to allow relaying through submission on port 587, and as extra safety, I have installed the PolicyD* service to run some rate limiting, and is trying to configure it with Postfix.Since the PolicyD service only needs to check mail that gets relayed, I am trying to call it from the submission block in master.cf like so: submission inet n - - - - smtpd ... -o ... ,check_policy_service inet:127.0.0.1:10031,reject
Change this to "-o ... ,check_policy_service,inet:127.0.0.1:10031,reject" You cannot use spaces with in-line options in master.cf Brian
But it does not work. The log gives this: "Mar 21 14:16:52 aptget postfix/smtpd[13513]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit" Is it possible to set this policy service up, so it only gets called when mail goes through submission on 587? Any pointers will be greatly appreciated
