summaryrefslogtreecommitdiff
path: root/test/confs/0900
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-08-02 00:24:00 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2016-08-02 16:46:32 +0100
commit0b20855c02c44cb79a33824596e3ad8dc906131f (patch)
tree71631e8bf79ed6e25bbcda35ce4ce5d08c6fff35 /test/confs/0900
parente7621e8371917cc06d0abce0929c3166e29007fb (diff)
testcases for PRDR
Diffstat (limited to 'test/confs/0900')
-rw-r--r--test/confs/09008
1 files changed, 8 insertions, 0 deletions
diff --git a/test/confs/0900 b/test/confs/0900
index 245d9fa96..427669c4b 100644
--- a/test/confs/0900
+++ b/test/confs/0900
@@ -3,6 +3,7 @@ SERVER=
X=
Y=
OPT=
+ALLOW=
exim_path = EXIM_PATH
keep_environment =
@@ -20,6 +21,7 @@ tls_advertise_hosts = ${if eq {Y}{tls} {*}}
domainlist local_domains = @ : test.ex
acl_smtp_rcpt = check_recipient
+acl_smtp_data_prdr = check_prdr
acl_smtp_data = check_data
trusted_users = CALLER
queue_only
@@ -29,6 +31,8 @@ log_selector = +received_recipients
tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
+ALLOW
+
# ----- ACL -----
begin acl
@@ -38,6 +42,10 @@ check_recipient:
accept domains = +local_domains
deny message = relay not permitted
+check_prdr:
+ accept local_parts = good
+ deny
+
check_data:
warn message = X-acl-message-linecount: $message_linecount
accept