On Sun, Oct 16, 2022 at 01:18:43PM +0800, Linux Guy wrote:

> If I have added this line into main.cf:
> 
>     smtpd_client_message_rate_limit = 5
> 
> does it mean a common smtp user (not peer MTA) can send 5 messages per 1
> min?

The parameter is documented:

    $ man 5 postconf | less +/smtpd_client_message_rate_limit
    http://www.postfix.org/postconf.5.html#smtpd_client_message_rate_limit

As to "smtp user" vs. "peer MTA", Postfix has no captcha to distinguish
MUAs from MTAs (nor is there an SMTP mechanism to do so).  The limit
applies to all "smtpd" services in master.cf.  If you want to exempt
submission, make the setting specific to the port 25 service, or
conversely if you want to restrict submission, ...

-- 
    Viktor.

Reply via email to