From b39bc77ce5365f8d63e34c341144b353b689d769 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Thu, 14 Nov 2024 20:21:45 +0000 Subject: [PATCH] Fix MX backup for lists --- master | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/master b/master index 1bb390a..a2e059a 100644 --- 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 -- 2.49.0