* Matteo Bini:

> I've added to Postfix smtpd_recipient_restrictions the
> check_policy_service option to check Dovecot quotas [...]
>
> Is there a way to tell Postfix to use the check_policy_service option
> only for inbound addresses?

You can configure different restrictions for different ports (services)
by specifying options in master.cf. The following defines foo_restrictions
for use with the submission service only. The foo_restrictions variable
itself can be set in main.cf.

  # /etc/postfix/master.cf
  submission inet n - n - -
    smtpd -o smtpd_recipient_restrictions=${foo_restrictions}

  # /etc/postfix/main.cf
  foo_restrictions = ... check_policy_service ...

Is this what you were looking for?

-Ralph
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to