File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,20 @@ DKIM_PRIVATE_KEY = ${if exists{DKIM_FILE}{DKIM_FILE}{0}}
5656# ACL CONFIGURATION #
5757# Specifies access control lists for incoming SMTP mail #
5858######################################################################
59+
60+ acl_not_smtp = acl_not_smtp
61+
5962begin acl
6063
64+ acl_not_smtp:
65+ deny message = Web site is sending too much emails [limitlog]: deny / account / $authenticated_id / $sender_rate / $sender_rate_period
66+ ratelimit = 40 / 1h / $authenticated_id
67+
68+ warn ratelimit = 0 / 1h / strict / $authenticated_id
69+ log_message = Sender rate [limitlog]: log / account / $authenticated_id / $sender_rate / $sender_rate_period
70+
71+ accept
72+
6173acl_check_spammers:
6274 accept hosts = +whitelist
6375
@@ -89,7 +101,13 @@ acl_check_mail:
89101acl_check_rcpt:
90102 accept hosts = :
91103
92- deny message = Restricted characters in address
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+
110+ deny message = Restricted characters in address
93111 domains = +local_domains
94112 local_parts = ^[.] : ^.*[@%!/|]
95113
You can’t perform that action at this time.
0 commit comments