Docs: use verified version of local_part variable in router require_files example
[users/heiko/exim.git] / test / confs / 0194
1 # Exim test configuration 0194
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 domainlist local_domains = test.ex : *.test.ex
10
11
12 # ----- Routers -----
13
14 begin routers
15
16 bounce:
17   driver = accept
18   retry_use_local_part
19   senders = :
20   transport = local_delivery
21
22 all:
23   driver = accept
24   retry_use_local_part
25   transport = pipe${if def:h_ret:{ret}}
26
27
28 # ----- Transports -----
29
30 begin transports
31
32 local_delivery:
33   driver = appendfile
34   file = DIR/test-mail/${bless:$local_part}
35   user = CALLER
36
37 pipe:
38   driver = pipe
39   batch_max = 3
40   command = /bin/echo This is some returned text.
41   return_output
42   user = CALLER
43
44 piperet:
45   driver = pipe
46   batch_max = 100
47   command = DIR/aux-fixed/TESTNUM.ret $h_ret:
48   return_fail_output
49   user = CALLER
50
51
52 # ----- Retry -----
53
54
55 begin retry
56
57 * * F,5d,1d
58
59
60 # End