Hi,

i’m trying to do quota limits by this tutorial: 
https://sys4.de/en/blog/2013/04/08/postfix-dovecot-mailbox-quota/

I have all the parts working, but in the tutorial only one policy service is 
used:
> smtpd_recipient_restrictions =
>    ...
>    check_policy_service inet:mailstore.example.com:12340

While in my setup I have users distributed over a cluster and i’m using:
> transport_maps = proxy:mysql:/etc/postfix/mysql/virtual_transport.cf

So it would be logical to query correct dovecot service for every recipients’ 
quota, something like this:
> smtpd_recipient_restrictions =
>    ...
>    check_policy_service proxy:mysql:/etc/postfix/mysql/virtual_transport.cf

But with this I get: postfix/smtpd[30904]: fatal: invalid transport name: proxy 
in service: proxy:mysql:/etc/postfix/mysql/quota-service.sql
Is it correct to use “check_recipient_access” instead of “check_policy_service” 
?

Reply via email to