X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/dfbcb5ac660065b097b0ad0cb2c26357899f0c64..d901e231acd1917d24b688cbd7823efc2bed45c4:/test/confs/3403 diff --git a/test/confs/3403 b/test/confs/3403 index 79fb73fe1..5d59e6dee 100644 --- a/test/confs/3403 +++ b/test/confs/3403 @@ -7,7 +7,7 @@ primary_hostname = myhost.test.ex # ----- Main settings ----- acl_smtp_rcpt = accept -acl_smtp_data = accept add_header = :at_start:${authresults {$primary_hostname}} +acl_smtp_data = check_data # ----- Authentication ----- @@ -27,6 +27,12 @@ plain1: server_mail_auth_condition = ${if eq{$authenticated_id}{userx}{yes}} +# ----- ACL ----- +begin acl + +check_data: + accept add_header = :at_start:${authresults {$primary_hostname}} + # ----- Routers ----- begin routers @@ -34,6 +40,7 @@ begin routers d1: driver = accept headers_add = aid: $authenticated_id + headers_add = rtr_authres: ${authresults {$primary_hostname}} retry_use_local_part transport = t1 @@ -44,7 +51,7 @@ begin transports t1: driver = appendfile - file = DIR/test-mail/$local_part + file = DIR/test-mail/${bless:$local_part} user = CALLER # End