X-Git-Url: https://git.hcoop.net/hcoop/zz_old/config/exim4-hopper.git/blobdiff_plain/b4dc64f6d77ee016e5dbd6fe7c0eab71795a4234..ae57a972b72a972ee7701e558bfe8353d6aca1c6:/conf.d/acl/30_exim4-config_check_rcpt?pf=hcoop%2Fzz_old diff --git a/conf.d/acl/30_exim4-config_check_rcpt b/conf.d/acl/30_exim4-config_check_rcpt index 870ed29..ac8bc53 100644 --- a/conf.d/acl/30_exim4-config_check_rcpt +++ b/conf.d/acl/30_exim4-config_check_rcpt @@ -120,12 +120,16 @@ acl_check_rcpt: warn message = X-WhitelistedRCPT-nohdrfromcallback: Yes condition = ${if and {{match{$local_part}{(.*)-bounces\+.*}} \ - {exists {MAILMAN_LISTCHK}}} \ + {def:domain} \ + {eq {${lookup{$local_part}lsearch{MAILMAN_DB}}} \ + {$domain}}} \ {yes}{no}} accept condition = ${if and {{match{$local_part}{(.*)-bounces\+.*}} \ - {exists {MAILMAN_LISTCHK}}} \ + {def:domain} \ + {eq {${lookup{$local_part}lsearch{MAILMAN_DB}}} \ + {$domain}}} \ {yes}{no}} # Verify senders listed in local_sender_callout with a callout.