From 0b20855c02c44cb79a33824596e3ad8dc906131f Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 2 Aug 2016 00:24:00 +0100 Subject: testcases for PRDR --- test/confs/0900 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/confs/0900') 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 -- cgit v1.2.3