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