On Sat, Nov 16, 2024 at 08:53:11AM +0000, jeff--- via Postfix-users wrote:

> I am sorry that for my bad expression which may caused your misunderstanding.
> 
> I want the rate limit on incoming messages to our local users.
> 
> for example, we have a domain foo.com, and have a user john...@foo.com.
> 
> I want john...@foo.com to accept messages up to 1000 per day.
> 
> besides postfwd, is there any other easy way?

This requires some policy service or milter that will keep track of
per-sender stats.  The built-in (anvil(8)-supported) controls are
per-client IP, not per-sender.

    smtpd_client_auth_rate_limit = 0
    smtpd_client_connection_count_limit = 50
    smtpd_client_connection_rate_limit = 0
    smtpd_client_message_rate_limit = 0
    smtpd_client_new_tls_session_rate_limit = 0
    smtpd_client_recipient_rate_limit = 0

Heed Wietse's suggestion to look into postfwd or similar.

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

Reply via email to