SRS: avoid expanding ${srs_encode...} when guarded by ${if...}
[exim.git] / test / confs / 0116
1 # Exim test configuration 0116
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 qualify_domain = test.ex
9 queue_run_in_order
10
11
12 # ----- Routers -----
13
14 begin routers
15
16 copydeliver:
17   driver = accept
18   local_parts = dcopy
19   retry_use_local_part
20   transport = appendfile
21   address_data = data from copydeliver
22   unseen
23
24 copyalias:
25   driver = redirect
26   allow_defer
27   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}}
28   local_parts = acopy
29   retry_use_local_part
30   address_data = data from copyalias
31   unseen = ${if eq {0}{0}{yes}{no}}
32
33 alias:
34   driver = redirect
35   allow_defer
36   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}}
37   local_parts = defer
38   retry_use_local_part
39   unseen = ${if eq {0}{1}{yes}{no}}
40
41 deliver:
42   driver = accept
43   retry_use_local_part
44   transport = appendfile
45   unseen = ${if eq {0}{1}{yes}{no}}
46
47
48 # ----- Transports -----
49
50 begin transports
51
52 appendfile:
53   driver = appendfile
54   file = DIR/test-mail/$local_part
55   create_file = DIR/test-mail
56   user = CALLER
57   headers_add = Added: $address_data
58
59
60 # ----- Retry -----
61
62
63 begin retry
64
65 * * F,5d,1d
66
67
68 # End