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.