Skip to content

Commit 236b496

Browse files
committed
Update exim sendrate limits to prevent warning logs.
1 parent 4f4ddeb commit 236b496

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

install/debian/8/exim/exim4.conf.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ begin acl
6565
# Limit per user for PHP scripts
6666
acl_not_smtp:
6767
deny message = Website of user $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
68-
ratelimit = 100 / 1h / $authenticated_id
68+
ratelimit = 200 / 1h / $authenticated_id
6969

70-
warn ratelimit = 0 / 1h / strict / $authenticated_id
70+
warn ratelimit = 100 / 1h / strict / $authenticated_id
7171
log_message = Sender rate [limitlog]: log / account / $authenticated_id / $sender_rate / $sender_rate_period
7272

7373
accept
@@ -107,7 +107,7 @@ acl_check_rcpt:
107107
deny message = Email account $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
108108
ratelimit = 200 / 1h / $authenticated_id
109109

110-
warn ratelimit = 0 / 1h / strict / $authenticated_id
110+
warn ratelimit = 100 / 1h / strict / $authenticated_id
111111
log_message = Sender rate [limitlog]: log / email / $authenticated_id / $sender_rate / $sender_rate_period
112112

113113
deny message = Restricted characters in address

install/debian/9/exim/exim4.conf.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ begin acl
6565
# Limit per user for PHP scripts
6666
acl_not_smtp:
6767
deny message = Website of user $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
68-
ratelimit = 100 / 1h / $authenticated_id
68+
ratelimit = 200 / 1h / $authenticated_id
6969

70-
warn ratelimit = 0 / 1h / strict / $authenticated_id
70+
warn ratelimit = 100 / 1h / strict / $authenticated_id
7171
log_message = Sender rate [limitlog]: log / account / $authenticated_id / $sender_rate / $sender_rate_period
7272

7373
accept
@@ -107,7 +107,7 @@ acl_check_rcpt:
107107
deny message = Email account $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
108108
ratelimit = 200 / 1h / $authenticated_id
109109

110-
warn ratelimit = 0 / 1h / strict / $authenticated_id
110+
warn ratelimit = 100 / 1h / strict / $authenticated_id
111111
log_message = Sender rate [limitlog]: log / email / $authenticated_id / $sender_rate / $sender_rate_period
112112

113113
deny message = Restricted characters in address

install/ubuntu/14.04/exim/exim4.conf.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ begin acl
6565
# Limit per user for PHP scripts
6666
acl_not_smtp:
6767
deny message = Website of user $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
68-
ratelimit = 100 / 1h / $authenticated_id
68+
ratelimit = 200 / 1h / $authenticated_id
6969

70-
warn ratelimit = 0 / 1h / strict / $authenticated_id
70+
warn ratelimit = 100 / 1h / strict / $authenticated_id
7171
log_message = Sender rate [limitlog]: log / account / $authenticated_id / $sender_rate / $sender_rate_period
7272

7373
accept
@@ -107,7 +107,7 @@ acl_check_rcpt:
107107
deny message = Email account $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
108108
ratelimit = 200 / 1h / $authenticated_id
109109

110-
warn ratelimit = 0 / 1h / strict / $authenticated_id
110+
warn ratelimit = 100 / 1h / strict / $authenticated_id
111111
log_message = Sender rate [limitlog]: log / email / $authenticated_id / $sender_rate / $sender_rate_period
112112

113113
deny message = Restricted characters in address

install/ubuntu/16.04/exim/exim4.conf.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ begin acl
6565
# Limit per user for PHP scripts
6666
acl_not_smtp:
6767
deny message = Website of user $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
68-
ratelimit = 100 / 1h / $authenticated_id
68+
ratelimit = 200 / 1h / $authenticated_id
6969

70-
warn ratelimit = 0 / 1h / strict / $authenticated_id
70+
warn ratelimit = 100 / 1h / strict / $authenticated_id
7171
log_message = Sender rate [limitlog]: log / account / $authenticated_id / $sender_rate / $sender_rate_period
7272

7373
accept
@@ -107,7 +107,7 @@ acl_check_rcpt:
107107
deny message = Email account $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
108108
ratelimit = 200 / 1h / $authenticated_id
109109

110-
warn ratelimit = 0 / 1h / strict / $authenticated_id
110+
warn ratelimit = 100 / 1h / strict / $authenticated_id
111111
log_message = Sender rate [limitlog]: log / email / $authenticated_id / $sender_rate / $sender_rate_period
112112

113113
deny message = Restricted characters in address

install/ubuntu/18.04/exim/exim4.conf.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ begin acl
6565
# Limit per user for PHP scripts
6666
acl_not_smtp:
6767
deny message = Website of user $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
68-
ratelimit = 100 / 1h / $authenticated_id
68+
ratelimit = 200 / 1h / $authenticated_id
6969

70-
warn ratelimit = 0 / 1h / strict / $authenticated_id
70+
warn ratelimit = 100 / 1h / strict / $authenticated_id
7171
log_message = Sender rate [limitlog]: log / account / $authenticated_id / $sender_rate / $sender_rate_period
7272

7373
accept
@@ -107,7 +107,7 @@ acl_check_rcpt:
107107
deny message = Email account $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
108108
ratelimit = 200 / 1h / $authenticated_id
109109

110-
warn ratelimit = 0 / 1h / strict / $authenticated_id
110+
warn ratelimit = 100 / 1h / strict / $authenticated_id
111111
log_message = Sender rate [limitlog]: log / email / $authenticated_id / $sender_rate / $sender_rate_period
112112

113113
deny message = Restricted characters in address

0 commit comments

Comments
 (0)