Check for missing commandline arg after options taking one. Bug 3049
[exim.git] / test / confs / 0635
1 # Exim test configuration 0635
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 domainlist local_domains = @
9
10 acl_smtp_rcpt = accept
11 acl_smtp_data = check_data
12 trusted_users = CALLER
13
14
15 # ----- ACL -----
16
17 begin acl
18
19 check_data:
20   accept logwrite = \$recipients: "$recipients"
21          logwrite = run-wrapped \$recipients: "${run{/bin/echo $recipients}}"
22          logwrite = \$value after \${run...}: '$value'
23
24 # ----- Routers -----
25
26 begin routers
27
28 fail_remote_domains:
29   driver = redirect
30   domains = ! +local_domains
31   data = :fail: unrouteable mail domain "$domain"
32
33 localuser:
34   driver = accept
35   check_local_user
36   transport = local_delivery
37
38 # ----- Transports -----
39
40 begin transports
41
42 local_delivery:
43   driver = appendfile
44   file = DIR/test-mail/$local_part_data
45
46 # End