feat(postfwd.cf): add final=yes to rate limiting rules for enhanced message handling
This commit is contained in:
@@ -197,6 +197,7 @@ id=RATE_MSG_EXCEPTION
|
||||
&&SASL_AUTH
|
||||
sasl_username==file:/etc/postfix/postfwd.high-rate-number-messages
|
||||
action=rate($$sasl_username/500/3600/450 4.7.1 Number messages per hour exceeded. Error:RATE_MSG_EXCEPTION)
|
||||
final=yes
|
||||
|
||||
# Block users sending more than 50 messages/hour
|
||||
id=RATE_MSG
|
||||
@@ -210,6 +211,7 @@ id=RATE_RCPT_HIGH
|
||||
&&SASL_AUTH
|
||||
sasl_username==file:/etc/postfix/postfwd.rate-msg-exceptions
|
||||
action=rcpt($$sasl_username/1000/3600/450 4.7.1 Number recipients per hour exceeded. Error:RATE_RCPT_HIGH)
|
||||
final=yes
|
||||
|
||||
# Block users sending more than 250 recipients total/hour
|
||||
id=RATE_RCPT
|
||||
|
||||
Reference in New Issue
Block a user