]> git.openstreetmap.org Git - chef.git/commitdiff
Increase maximum number of SMTP connections on shenron
authorTom Hughes <tom@compton.nu>
Wed, 10 Nov 2021 20:45:26 +0000 (20:45 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 10 Nov 2021 20:46:01 +0000 (20:46 +0000)
cookbooks/exim/attributes/default.rb
cookbooks/exim/templates/default/exim4.conf.erb
roles/mail.rb

index 21e999109794dc7cb5fe7d63a8fafb33bd91e355..638ce5765b1c10ac1c5ab3285eed85ef4db91412 100644 (file)
@@ -4,6 +4,7 @@ default[:exim][:relay_from_hosts] = ["127.0.0.1", "::1"]
 default[:exim][:daemon_smtp_ports] = [25]
 default[:exim][:trusted_users] = []
 default[:exim][:queue_run_max] = 1
+default[:exim][:smtp_accept_max] = 20
 default[:exim][:smarthost_name] = nil
 default[:exim][:smarthost_via] = "mail.openstreetmap.org:26"
 default[:exim][:routes] = {}
index 2d1d96e1288751dac4ed8ae2073abe63f089dc9f..7b0afac410d889d77fb6e49af331ea7a51f0db4c 100644 (file)
@@ -364,6 +364,11 @@ queue_only = true
 queue_run_max = <%= node[:exim][:queue_run_max] %>
 
 
+# Maximum number of simultaneous SMTP connections
+
+smtp_accept_max = <%= node[:exim][:smtp_accept_max] %>
+
+
 
 ######################################################################
 #                       ACL CONFIGURATION                            #
index 77b3bf3f40a860cc90a8bf932f420aafecc9bb3c..50382b03bef7562cfd9b57841612aa175a2f7491 100644 (file)
@@ -27,6 +27,7 @@ default_attributes(
       "a.mx.osm.io"
     ],
     :queue_run_max => 5,
+    :smtp_accept_max => 200,
     :smarthost_name => "mail.openstreetmap.org",
     :smarthost_via => false,
     :dns_blacklists => ["zen.spamhaus.org"],