Parcourir la source

Update exim sendrate limits to prevent warning logs.

Raphael Schneeberger il y a 7 ans
Parent
commit
236b496975

+ 3 - 3
install/debian/8/exim/exim4.conf.template

@@ -65,9 +65,9 @@ begin acl
 # Limit per user for PHP scripts
 acl_not_smtp:
   deny    message       = Website of user $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
-  ratelimit             = 100 / 1h / $authenticated_id
+  ratelimit             = 200 / 1h / $authenticated_id
 
-  warn    ratelimit     = 0 / 1h / strict / $authenticated_id
+  warn    ratelimit     = 100 / 1h / strict / $authenticated_id
   log_message           = Sender rate [limitlog]: log / account / $authenticated_id / $sender_rate / $sender_rate_period
 
   accept
@@ -107,7 +107,7 @@ acl_check_rcpt:
   deny    message       = Email account $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
   ratelimit             = 200 / 1h / $authenticated_id
 
-  warn    ratelimit     = 0 / 1h / strict / $authenticated_id
+  warn    ratelimit     = 100 / 1h / strict / $authenticated_id
   log_message           = Sender rate [limitlog]: log / email / $authenticated_id / $sender_rate / $sender_rate_period
 
   deny    message       = Restricted characters in address

+ 3 - 3
install/debian/9/exim/exim4.conf.template

@@ -65,9 +65,9 @@ begin acl
 # Limit per user for PHP scripts
 acl_not_smtp:
   deny    message       = Website of user $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
-  ratelimit             = 100 / 1h / $authenticated_id
+  ratelimit             = 200 / 1h / $authenticated_id
 
-  warn    ratelimit     = 0 / 1h / strict / $authenticated_id
+  warn    ratelimit     = 100 / 1h / strict / $authenticated_id
   log_message           = Sender rate [limitlog]: log / account / $authenticated_id / $sender_rate / $sender_rate_period
 
   accept
@@ -107,7 +107,7 @@ acl_check_rcpt:
   deny    message       = Email account $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
   ratelimit             = 200 / 1h / $authenticated_id
 
-  warn    ratelimit     = 0 / 1h / strict / $authenticated_id
+  warn    ratelimit     = 100 / 1h / strict / $authenticated_id
   log_message           = Sender rate [limitlog]: log / email / $authenticated_id / $sender_rate / $sender_rate_period
 
   deny    message       = Restricted characters in address

+ 3 - 3
install/ubuntu/14.04/exim/exim4.conf.template

@@ -65,9 +65,9 @@ begin acl
 # Limit per user for PHP scripts
 acl_not_smtp:
   deny    message       = Website of user $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
-  ratelimit             = 100 / 1h / $authenticated_id
+  ratelimit             = 200 / 1h / $authenticated_id
 
-  warn    ratelimit     = 0 / 1h / strict / $authenticated_id
+  warn    ratelimit     = 100 / 1h / strict / $authenticated_id
   log_message           = Sender rate [limitlog]: log / account / $authenticated_id / $sender_rate / $sender_rate_period
 
   accept
@@ -107,7 +107,7 @@ acl_check_rcpt:
   deny    message       = Email account $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
   ratelimit             = 200 / 1h / $authenticated_id
 
-  warn    ratelimit     = 0 / 1h / strict / $authenticated_id
+  warn    ratelimit     = 100 / 1h / strict / $authenticated_id
   log_message           = Sender rate [limitlog]: log / email / $authenticated_id / $sender_rate / $sender_rate_period
 
   deny    message       = Restricted characters in address

+ 3 - 3
install/ubuntu/16.04/exim/exim4.conf.template

@@ -65,9 +65,9 @@ begin acl
 # Limit per user for PHP scripts
 acl_not_smtp:
   deny    message       = Website of user $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
-  ratelimit             = 100 / 1h / $authenticated_id
+  ratelimit             = 200 / 1h / $authenticated_id
 
-  warn    ratelimit     = 0 / 1h / strict / $authenticated_id
+  warn    ratelimit     = 100 / 1h / strict / $authenticated_id
   log_message           = Sender rate [limitlog]: log / account / $authenticated_id / $sender_rate / $sender_rate_period
 
   accept
@@ -107,7 +107,7 @@ acl_check_rcpt:
   deny    message       = Email account $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
   ratelimit             = 200 / 1h / $authenticated_id
 
-  warn    ratelimit     = 0 / 1h / strict / $authenticated_id
+  warn    ratelimit     = 100 / 1h / strict / $authenticated_id
   log_message           = Sender rate [limitlog]: log / email / $authenticated_id / $sender_rate / $sender_rate_period
 
   deny    message       = Restricted characters in address

+ 3 - 3
install/ubuntu/18.04/exim/exim4.conf.template

@@ -65,9 +65,9 @@ begin acl
 # Limit per user for PHP scripts
 acl_not_smtp:
   deny    message       = Website of user $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
-  ratelimit             = 100 / 1h / $authenticated_id
+  ratelimit             = 200 / 1h / $authenticated_id
 
-  warn    ratelimit     = 0 / 1h / strict / $authenticated_id
+  warn    ratelimit     = 100 / 1h / strict / $authenticated_id
   log_message           = Sender rate [limitlog]: log / account / $authenticated_id / $sender_rate / $sender_rate_period
 
   accept
@@ -107,7 +107,7 @@ acl_check_rcpt:
   deny    message       = Email account $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
   ratelimit             = 200 / 1h / $authenticated_id
 
-  warn    ratelimit     = 0 / 1h / strict / $authenticated_id
+  warn    ratelimit     = 100 / 1h / strict / $authenticated_id
   log_message           = Sender rate [limitlog]: log / email / $authenticated_id / $sender_rate / $sender_rate_period
 
   deny    message       = Restricted characters in address