> On May 14, 2025, at 11:24 AM, Matus UHLAR - fantomas via Postfix-users > <postfix-users@postfix.org> wrote: > > On 14.05.25 10:37, vom513 via Postfix-users wrote: >> I see docs on how to rate limit for certain networks / IPs - but can custom >> rate limiting be applied to authenticated users ? > > postfwd as policy filter can do that
Thanks for the pointer. I have this working and matching messages, but it seems that postfix proper’s rate limiting is still taking effect. I have: # limit max sends per minute anvil_rate_time_unit = 60s smtpd_client_event_limit_exceptions = $mynetworks smtpd_client_message_rate_limit = 5 And I also have: # smtpd delivery restriction processing smtpd_recipient_restrictions = permit_mynetworks, check_policy_service inet:127.0.0.1:10040, permit_sasl_authenticated, (I have much more for this, but just showing the relevant point in the sequence for postfwd…) I can see I had 10 hits (I tried to send 100 messages…): root@orbital:/etc/postfix# postfwd2 -vv --dumpcache -f /etc/postfwd.cf | grep count Redundant argument in printf at /usr/sbin/postfwd2 line 301. %rate_cache -> %sasl_username=smtpauth -> %RULEZEROSASL+1000_86400 -> @count -> '10' %rate_cache -> %sasl_username=smtpauth -> %RULEZEROSASL+1000_86400 -> @maxcount -> '1000' root@orbital:/etc/postfix# Do I need to move ALL the rate limiting logic inside postfwd (and remove it from main.cf) ? Thanks. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org