X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=test%2Fconfs%2F3403;h=5d59e6dee9efcd499cc46f193418182c4f67d370;hb=0cedb352e62898761b701af0c400df8ae1989383;hp=6adcf65f3261a2c3908c5c242f24a35e8be7b676;hpb=afda344b580b54a4513569720aec3260cd5ba546;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/test/confs/3403 b/test/confs/3403 index 6adcf65f3..5d59e6dee 100644 --- a/test/confs/3403 +++ b/test/confs/3403 @@ -1,17 +1,13 @@ # Exim test configuration 3403 -exim_path = EXIM_PATH -host_lookup_order = bydns +.include DIR/aux-var/std_conf_prefix + primary_hostname = myhost.test.ex -rfc1413_query_timeout = 0s -spool_directory = DIR/spool -log_file_path = DIR/spool/log/%slog -gecos_pattern = "" -gecos_name = CALLER_NAME # ----- Main settings ----- acl_smtp_rcpt = accept +acl_smtp_data = check_data # ----- Authentication ----- @@ -31,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 @@ -38,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 @@ -48,7 +51,7 @@ begin transports t1: driver = appendfile - file = DIR/test-mail/$local_part + file = DIR/test-mail/${bless:$local_part} user = CALLER # End