install_postfix_advanced.sh, install_postfwd.sh: add rule 'Throttle unknown clients to 5 recipients per 5 minutes'.

This commit is contained in:
Christoph 2022-09-17 01:31:45 +02:00
parent 352b59c997
commit 5b678ee96c
2 changed files with 10 additions and 0 deletions

View File

@ -1253,6 +1253,11 @@ id=BL_SENDER
# Rate Limits
# Throttle unknown clients to 5 recipients per 5 minutes:
id=RATE_UNKNOWN_CLIENT_ADDR
client_name==unknown
action=rate(client_address/5/300/450 4.7.1 only 5 recipients per 5 minutes allowed)
# Block clients (ip-addresses) sending more than 50 messages per minute exceeded. Error:RATE_CLIENT)
id=RATE_CLIENT_ADDR
&&INCOMING

View File

@ -440,6 +440,11 @@ id=BL_SENDER
# Rate Limits
# Throttle unknown clients to 5 recipients per 5 minutes:
id=RATE_UNKNOWN_CLIENT_ADDR
client_name==unknown
action=rate(client_address/5/300/450 4.7.1 only 5 recipients per 5 minutes allowed)
# Block clients (ip-addresses) sending more than 50 messages per minute exceeded. Error:RATE_CLIENT)
id=RATE_CLIENT_ADDR
&&INCOMING