git://git.exim.org
/
users
/
heiko
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Testsuite: add dnsdb testcase for defer when used in ACL
[users/heiko/exim.git]
/
test
/
confs
/
2200
diff --git
a/test/confs/2200
b/test/confs/2200
index 904ccfb18e5db2884212fff80c5c3f5f9d74a3fd..73f6f48e7a6e4d59a96b6f03c5843eae9c2832ee 100644
(file)
--- a/
test/confs/2200
+++ b/
test/confs/2200
@@
-7,12
+7,18
@@
primary_hostname = myhost.test.ex
# ----- Main settings -----
# ----- Main settings -----
-acl_not_smtp = check_rcpt
+acl_smtp_rcpt = check_rcpt
+acl_not_smtp = check_not_smtp
queue_only
begin acl
check_rcpt:
queue_only
begin acl
check_rcpt:
+ accept
+ local_parts = defer_strict
+ set acl_m1 = ${lookup dnsdb{defer_strict,a=$domain}}
+
+check_not_smtp:
warn
set acl_m1 = ${map {<,$recipients} \
{${lookup dnsdb{a=${domain:$item}}{$value}fail}}}
warn
set acl_m1 = ${map {<,$recipients} \
{${lookup dnsdb{a=${domain:$item}}{$value}fail}}}