File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,12 @@ acl_check_mail:
101101acl_check_rcpt:
102102 accept hosts = :
103103
104+ deny message = Email account is sending too much emails [limitlog]: deny / email / $authenticated_id / $sender_rate / $sender_rate_period
105+ ratelimit = 40 / 1h / $authenticated_id
106+
107+ warn ratelimit = 0 / 1h / strict / $authenticated_id
108+ log_message = Sender rate [limitlog]: log / email / $authenticated_id / $sender_rate / $sender_rate_period
109+
104110 deny message = Restricted characters in address
105111 domains = +local_domains
106112 local_parts = ^[.] : ^.*[@%!/|]
Original file line number Diff line number Diff line change @@ -101,6 +101,12 @@ acl_check_mail:
101101acl_check_rcpt:
102102 accept hosts = :
103103
104+ deny message = Email account is sending too much emails [limitlog]: deny / email / $authenticated_id / $sender_rate / $sender_rate_period
105+ ratelimit = 40 / 1h / $authenticated_id
106+
107+ warn ratelimit = 0 / 1h / strict / $authenticated_id
108+ log_message = Sender rate [limitlog]: log / email / $authenticated_id / $sender_rate / $sender_rate_period
109+
104110 deny message = Restricted characters in address
105111 domains = +local_domains
106112 local_parts = ^[.] : ^.*[@%!/|]
Original file line number Diff line number Diff line change @@ -101,6 +101,12 @@ acl_check_mail:
101101acl_check_rcpt:
102102 accept hosts = :
103103
104+ deny message = Email account is sending too much emails [limitlog]: deny / email / $authenticated_id / $sender_rate / $sender_rate_period
105+ ratelimit = 40 / 1h / $authenticated_id
106+
107+ warn ratelimit = 0 / 1h / strict / $authenticated_id
108+ log_message = Sender rate [limitlog]: log / email / $authenticated_id / $sender_rate / $sender_rate_period
109+
104110 deny message = Restricted characters in address
105111 domains = +local_domains
106112 local_parts = ^[.] : ^.*[@%!/|]
You can’t perform that action at this time.
0 commit comments