# 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