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