X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=test%2Fconfs%2F3403;h=161cdeaeeeed1280c384ecef0d07ae8576ffeee2;hb=6a9cf7f890226aa085842cd3d94b13e78ea31637;hp=813b3b941c7aa7f5dbb592e118db2f74dea85fb1;hpb=4fab92fbc2b63bac2d89c1dae69fa1845cb640b7;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/test/confs/3403 b/test/confs/3403 index 813b3b941..161cdeaee 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 @@ -43,7 +50,7 @@ begin transports t1: driver = appendfile - file = DIR/test-mail/$local_part + file = DIR/test-mail/${bless:$local_part} user = CALLER # End