X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/d4dc049f9a9e80ac3a470fd644418668eefedecb..600dc06981df5a906125f8442c36056a117412d4:/test/confs/3403?ds=sidebyside diff --git a/test/confs/3403 b/test/confs/3403 index 813b3b941..327308591 100644 --- a/test/confs/3403 +++ b/test/confs/3403 @@ -7,6 +7,7 @@ primary_hostname = myhost.test.ex # ----- Main settings ----- acl_smtp_rcpt = accept +acl_smtp_data = check_data # ----- Authentication ----- @@ -26,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 @@ -33,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,6 +52,7 @@ begin transports t1: driver = appendfile file = DIR/test-mail/$local_part + create_file = DIR/test-mail user = CALLER # End