Merge branch 'master'
[users/jgh/exim.git] / test / confs / 0116
1 # Exim test configuration 0116
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 tls_advertise_hosts =
11
12 # ----- Main settings -----
13
14 qualify_domain = test.ex
15 queue_run_in_order
16
17
18 # ----- Routers -----
19
20 begin routers
21
22 copydeliver:
23   driver = accept
24   local_parts = dcopy
25   retry_use_local_part
26   transport = appendfile
27   address_data = data from copydeliver
28   unseen
29
30 copyalias:
31   driver = redirect
32   allow_defer
33   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}}
34   local_parts = acopy
35   retry_use_local_part
36   address_data = data from copyalias
37   unseen = ${if eq {0}{0}{yes}{no}}
38
39 alias:
40   driver = redirect
41   allow_defer
42   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}}
43   local_parts = defer
44   retry_use_local_part
45   unseen = ${if eq {0}{1}{yes}{no}}
46
47 deliver:
48   driver = accept
49   retry_use_local_part
50   transport = appendfile
51   unseen = ${if eq {0}{1}{yes}{no}}
52
53
54 # ----- Transports -----
55
56 begin transports
57
58 appendfile:
59   driver = appendfile
60   file = DIR/test-mail/$local_part
61   user = CALLER
62   headers_add = Added: $address_data
63
64
65 # ----- Retry -----
66
67
68 begin retry
69
70 * * F,5d,1d
71
72
73 # End