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