X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/a08c49f10dbed682e0500e6510c78bd65002fc34..92562f63be6fae2526d68171d60bf87027551f88:/test/confs/3403 diff --git a/test/confs/3403 b/test/confs/3403 index 2f12a56f3..161cdeaee 100644 --- a/test/confs/3403 +++ b/test/confs/3403 @@ -1,16 +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 -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 ----- @@ -30,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 @@ -47,7 +50,7 @@ begin transports t1: driver = appendfile - file = DIR/test-mail/$local_part + file = DIR/test-mail/${bless:$local_part} user = CALLER # End