Dear All,

I am Sorry to ask this question, because I am pretty sure it had been asked hundreds of times before, but I searched the forum, and I searched the web using google and I could not find the solution.

I need to rate limit sending email addresses per user account.

I followed Postfix Policyd - Zimbra :: Wiki article, It works fine for incoming email (mail from external domains to local users) and policyd logs show hits and update values for all external users.

My question is: how can I enable policyd to work against localusers?

my /opt/zimbra/conf/postfix_recipient_restrictions.cf

Code:
reject_non_fqdn_recipient
permit_sasl_authenticated
permit_mynetworks
reject_unauth_destination
reject_unlisted_recipient
%%contains VAR:zimbraMtaRestriction reject_invalid_hostname%%
%%contains VAR:zimbraMtaRestriction reject_non_fqdn_hostname%%
%%contains VAR:zimbraMtaRestriction reject_non_fqdn_sender%%
%%contains VAR:zimbraMtaRestriction reject_unknown_client%%
%%contains VAR:zimbraMtaRestriction reject_unknown_hostname%%
%%contains VAR:zimbraMtaRestriction reject_unknown_sender_domain%%
%%explode reject_rbl_client VAR:zimbraMtaRestrictionRBLs%%
%%contains VAR:zimbraMtaRestriction check_policy_service unix:private/policy%%
%%contains VAR:zimbraMtaRestriction check_policy_service inet:127.0.0.1:10031%%
permit
Thanks in Advance,

Razi Alsayyed