HCoop
/
hcoop
/
zz_old
/
config
/
exim4-hopper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Mailman bounce reception
[hcoop/zz_old/config/exim4-hopper.git]
/
conf.d
/
acl
/
30_exim4-config_check_rcpt
diff --git
a/conf.d/acl/30_exim4-config_check_rcpt
b/conf.d/acl/30_exim4-config_check_rcpt
index
870ed29
..
ac8bc53
100644
(file)
--- 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\+.*}} \
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\+.*}} \
{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.
{yes}{no}}
# Verify senders listed in local_sender_callout with a callout.