Settings hot reloading - Part 4
This commit is contained in:
@@ -45,9 +45,9 @@ linger = 1
|
||||
tos = 1
|
||||
|
||||
[certificate."default"]
|
||||
cert = "file://{CERT}"
|
||||
private-key = "file://{PK}"
|
||||
cert = "%{file:{CERT}}%"
|
||||
private-key = "%{file:{PK}}%"
|
||||
|
||||
[certificate."other"]
|
||||
cert = "file://{CERT}"
|
||||
private-key = "file://{PK}"
|
||||
cert = "%{file:{CERT}}%"
|
||||
private-key = "%{file:{PK}}%"
|
||||
|
||||
@@ -3,8 +3,10 @@ match = "remote_ip == '127.0.0.1'"
|
||||
key = ["remote_ip", "authenticated_as"]
|
||||
concurrency = 100
|
||||
rate = "50/30s"
|
||||
enable = true
|
||||
|
||||
[[throttle]]
|
||||
key = "sender_domain"
|
||||
concurrency = 10000
|
||||
enable = true
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
require ["variables", "extlists", "reject"];
|
||||
|
||||
if string :list "${env.helo_domain}" "local/invalid-ehlos" {
|
||||
reject "551 5.1.1 Your domain '${env.helo_domain}' has been blacklisted.";
|
||||
if eval "contains(['spammer.org', 'spammer.net'], env.helo_domain)" {
|
||||
reject "551 5.1.1 Your domain '${env.helo_domain}' has been blocklisted.";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user