X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/7c60296900bdff369ffd2bf54eecfe6097b997a4..93c3f40d578a22c112fd67954528f921dae50a78:/test/confs/0635?ds=inline diff --git a/test/confs/0635 b/test/confs/0635 index 3c8a68708..4aec94e13 100644 --- a/test/confs/0635 +++ b/test/confs/0635 @@ -2,30 +2,45 @@ .include DIR/aux-var/std_conf_prefix -primary_hostname = myhost.test.ex # ----- Main settings ----- -trusted_users = CALLER -bounce_return_linesize_limit = 20 +domainlist local_domains = @ + acl_smtp_rcpt = accept +acl_smtp_data = check_data +trusted_users = CALLER + +# ----- ACL ----- + +begin acl + +check_data: + accept logwrite = \$recipients: "$recipients" + logwrite = run-wrapped \$recipients: "${run{/bin/echo $recipients}}" + logwrite = \$value after \${run...}: '$value' # ----- Routers ----- begin routers -my_main_router: - driver = manualroute - transport = t1 - route_list = * 127.0.0.1::PORT_S - self = send +fail_remote_domains: + driver = redirect + domains = ! +local_domains + data = :fail: unrouteable mail domain "$domain" + +localuser: + driver = accept + check_local_user + transport = local_delivery # ----- Transports ----- begin transports -t1: - driver = smtp +local_delivery: + driver = appendfile + file = DIR/test-mail/$local_part_data # End