]> www.infradead.org Git - users/dwmw2/eximconf.git/commitdiff
Fix MX backup for lists
authorDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 14 Nov 2024 20:21:45 +0000 (20:21 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 14 Nov 2024 20:21:57 +0000 (20:21 +0000)
master

diff --git a/master b/master
index 1bb390a5815eb9b149bba9b6d4670200a360c886..a2e059a8119afaf1a42ba043d265507e56d6043f 100644 (file)
--- a/master
+++ b/master
@@ -262,9 +262,22 @@ mailman_bogus_bounces:
 
   # For other list traffic, redirect to the host which actually handles
   # the list in question. It doesn't matter if the domain in the address
-  # was already $primary_hostname, because we'll just go through from 
-  # the start again and this router will be skipped the second time
-  # round by the normal loop prevention.
+  # was already $primary_hostname, because we'll just go through from
+  # the start again and the mailman_redirect router will be skipped the
+  # second time round by the normal loop prevention.
+  # When verifying, accept immediately so that we aren't dependent on
+  # callouts to the target host (which may be down, which would prevent
+  # us from acting as MX backup for the list domains)
+mailman_redirect_verify_accept:
+  driver = accept
+  domains = +mailman_mx_domains
+  local_parts = lsearch;CLUSTER/mailman/MAILMAN_UNTAINT_DOMAIN
+  local_part_suffix_optional
+  local_part_suffix = -bounces : -bounces+* : \
+                      -confirm+* : -join : -leave : \
+                      -owner : -request : -admin
+  verify_only
+
 mailman_redirect:
   driver = redirect
   domains = +mailman_mx_domains