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.
# These values are derived from the ones above and should not need
# editing unless you have munged your mailman installation
-# The path of the list config file (used as a required file when
-# verifying list addresses)
-#MAILMAN_LISTCHK=MAILMAN_HOME/lists/${lc::$local_part}/config.pck
-
# hcoop-change: Used for looking up a user and domain Mailman mapping.
MAILMAN_DB=/etc/exim4/mailmandb