I have tested policyd-rate-limit on my developer server and there is everything work correctly. But my production server wont work with policyd-rate-limit. My configuration:
Postfix ( dev ) version: 3.4.13 ( prod ) version: 3.1.15
main.cf:
smtpd_recipient_restrictions = check_policy_service { unix:ratelimit/policy, default_action=DUNNO }
....
In logs /var/log/syslog I dont see any entry like this example: 001/001 hit since 60s or insert id example-user@mail-domain.com So daemon policyd-rate-limit cant defer the message. Of course I dont see any errors in logs. Database has been tested mysqlite and mysql and yaml configure package for Python3. Unfortunately stil no solution :(