File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
install/ubuntu/18.04/exim Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -61,12 +61,13 @@ acl_not_smtp = acl_not_smtp
6161
6262begin acl
6363
64+ # Limit per user for PHP scripts
6465acl_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
66+ deny message = Website of user $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
67+ ratelimit = 100 / 1h / $authenticated_id
6768
68- warn ratelimit = 0 / 1h / strict / $authenticated_id
69- log_message = Sender rate [limitlog]: log / account / $authenticated_id / $sender_rate / $sender_rate_period
69+ warn ratelimit = 0 / 1h / strict / $authenticated_id
70+ log_message = Sender rate [limitlog]: log / account / $authenticated_id / $sender_rate / $sender_rate_period
7071
7172 accept
7273
@@ -101,11 +102,12 @@ acl_check_mail:
101102acl_check_rcpt:
102103 accept hosts = :
103104
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
105+ # Limit per email account for SMTP auhenticated users
106+ deny message = Email account $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
107+ ratelimit = 200 / 1h / $authenticated_id
106108
107- warn ratelimit = 0 / 1h / strict / $authenticated_id
108- log_message = Sender rate [limitlog]: log / email / $authenticated_id / $sender_rate / $sender_rate_period
109+ warn ratelimit = 0 / 1h / strict / $authenticated_id
110+ log_message = Sender rate [limitlog]: log / email / $authenticated_id / $sender_rate / $sender_rate_period
109111
110112 deny message = Restricted characters in address
111113 domains = +local_domains
You can’t perform that action at this time.
0 commit comments