> 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
> But it does not work. The log gives this:
In recent Postfix versions the master(5) manpage says:
Override the named main.cf configuration parameter. The
parameter value can refer to other parameters as $name
etc., just like in main.cf. See postconf(5) for syntax.
NOTE 1: do not specify whitespace around the "=" or in
parameter values. To specify a parameter value that con-
tains whitespace, use commas instead of spaces, or spec-
ify the value in main.cf. Example:
submission inet .... smtpd
submission_mumble = text with whitespace...
Instead of "mumble" use "recipient_restrictions" etc.
This recommendation was added 1-2 years ago.