Client Limit

Juliano Silva

Well-Known Member
Oct 15, 2017
186
3
58
39
Hello

How it works this line? would like more information

Client Connection Count Limit
Client Connection Rate Limit
Client Message Rate Limit
 
see http://www.postfix.org/smtpd.8.html:

smtpd_client_connection_count_limit (50)
How many simultaneous connections any client is allowed to make
to this service.

smtpd_client_connection_rate_limit (0)
The maximal number of connection attempts any client is allowed
to make to this service per time unit.

smtpd_client_message_rate_limit (0)
The maximal number of message delivery requests that any client
is allowed to make to this service per time unit, regardless of
whether or not Postfix actually accepts those messages.
 
see http://www.postfix.org/smtpd.8.html:

smtpd_client_connection_count_limit (50)
How many simultaneous connections any client is allowed to make
to this service.

smtpd_client_connection_rate_limit (0)
The maximal number of connection attempts any client is allowed
to make to this service per time unit.

smtpd_client_message_rate_limit (0)
The maximal number of message delivery requests that any client
is allowed to make to this service per time unit, regardless of
whether or not Postfix actually accepts those messages.
Hi dietmar,

About (smtpd_client_message_rate_limit) parameter value, is there an best practice?

Regards,
--
Danúbio A. Marinho
 
Last edited:
Restriction of sending letters for a time interval.
There are two parameters for this option in postfix:

anvil_rate_time_unit
Measured in seconds (s), minutes (m), hours (h), days (d), weeks (w)
Standard value - 60s
smtpd_client_message_rate_limit
Measured in units
The default value is 0 (unlimited)

Formula:

emails / sec = smtpd_client_message_rate_limit / anvil_rate_time_unit

Example:

anvil_rate_time_unit = 60s
smtpd_client_message_rate_limit = 100
With these parameters, no more than 100 letters can be sent from one mailbox in 60 seconds.
 
Restriction of sending letters for a time interval.
There are two parameters for this option in postfix:

anvil_rate_time_unit
Measured in seconds (s), minutes (m), hours (h), days (d), weeks (w)
Standard value - 60s
smtpd_client_message_rate_limit
Measured in units
The default value is 0 (unlimited)

Formula:

emails / sec = smtpd_client_message_rate_limit / anvil_rate_time_unit

Example:

anvil_rate_time_unit = 60s
smtpd_client_message_rate_limit = 100
With these parameters, no more than 100 letters can be sent from one mailbox in 60 seconds.

Hi EntonyBirk,

Thanks for your reply.

I'm using 100 for smtpd_client_message_rate_limit parameter value and until now is ok.

About anvil_rate_time_unit parameter, i didn't find on PMG Administration Guide. Where can i get more information about it?

Regards,
--
Danúbio A. Marinho
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!