Refactor common uses of list-checking
[users/jgh/exim.git] / test / confs / 0194
1 # Exim test configuration 0194
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 domainlist local_domains = test.ex : *.test.ex
15
16
17 # ----- Routers -----
18
19 begin routers
20
21 bounce:
22   driver = accept
23   retry_use_local_part
24   senders = :
25   transport = local_delivery
26
27 all:
28   driver = accept
29   retry_use_local_part
30   transport = pipe${if def:h_ret:{ret}}
31
32
33 # ----- Transports -----
34
35 begin transports
36
37 local_delivery:
38   driver = appendfile
39   file = DIR/test-mail/$local_part
40   user = CALLER
41
42 pipe:
43   driver = pipe
44   batch_max = 3
45   command = /bin/echo This is some returned text.
46   return_output
47   user = CALLER
48
49 piperet:
50   driver = pipe
51   batch_max = 100
52   command = DIR/aux-fixed/TESTNUM.ret $h_ret:
53   return_fail_output
54   user = CALLER
55
56
57 # ----- Retry -----
58
59
60 begin retry
61
62 * * F,5d,1d
63
64
65 # End