|
|
@@ -61,12 +61,13 @@ acl_not_smtp = acl_not_smtp
|
|
|
|
|
|
begin acl
|
|
|
|
|
|
+# Limit per user for PHP scripts
|
|
|
acl_not_smtp:
|
|
|
- deny message = Web site is sending too much emails [limitlog]: deny / account / $authenticated_id / $sender_rate / $sender_rate_period
|
|
|
- ratelimit = 40 / 1h / $authenticated_id
|
|
|
+ deny message = Website of user $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
|
|
|
+ ratelimit = 100 / 1h / $authenticated_id
|
|
|
|
|
|
- warn ratelimit = 0 / 1h / strict / $authenticated_id
|
|
|
- log_message = Sender rate [limitlog]: log / account / $authenticated_id / $sender_rate / $sender_rate_period
|
|
|
+ warn ratelimit = 0 / 1h / strict / $authenticated_id
|
|
|
+ log_message = Sender rate [limitlog]: log / account / $authenticated_id / $sender_rate / $sender_rate_period
|
|
|
|
|
|
accept
|
|
|
|
|
|
@@ -101,11 +102,12 @@ acl_check_mail:
|
|
|
acl_check_rcpt:
|
|
|
accept hosts = :
|
|
|
|
|
|
- deny message = Email account is sending too much emails [limitlog]: deny / email / $authenticated_id / $sender_rate / $sender_rate_period
|
|
|
- ratelimit = 40 / 1h / $authenticated_id
|
|
|
+# Limit per email account for SMTP auhenticated users
|
|
|
+ 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
|
|
|
- log_message = Sender rate [limitlog]: log / email / $authenticated_id / $sender_rate / $sender_rate_period
|
|
|
+ warn ratelimit = 0 / 1h / strict / $authenticated_id
|
|
|
+ log_message = Sender rate [limitlog]: log / email / $authenticated_id / $sender_rate / $sender_rate_period
|
|
|
|
|
|
deny message = Restricted characters in address
|
|
|
domains = +local_domains
|