ab98f68dd4c98fff159da1c72df86429b2307cd7
[users/heiko/exim.git] / test / confs / 0274
1 # Exim test configuration 0274
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 qualify_domain = test.ex
16
17 # ----- Transports -----
18
19 begin transports
20
21 t1:
22   driver = appendfile
23   file = DIR/test-mail/${if eq{$address_data}{}{$local_part}{$address_data}}
24   user = CALLER
25
26 # ----- Routers -----
27
28 begin routers
29
30 # Delivered without changing address_data
31
32 nodata:
33   driver = accept
34   local_parts = nodata
35   transport = t1
36
37 # Passed to transport
38 r1:
39   driver = accept
40   domains = r1
41   address_data = abcd
42   transport = t1
43
44 # Passed on after decline
45
46 r2:
47   driver = redirect
48   domains = r2
49   address_data = xyz
50   file = /nonexist
51
52 r2a:
53   driver = accept
54   domains = r2
55   transport = t1
56
57 # Force fail declines
58
59 r3:
60   driver = accept
61   domains = r3
62   address_data = ${if eq {1}{0}{xxx}fail}
63   transport= t1
64
65 r3a:
66   driver = accept
67   domains = r3
68   transport = t1
69
70 # Unforced fail defers
71
72 r4:
73   driver = accept
74   domains = r4
75   address_data = ${if
76   transport = t1
77
78 # Check that redirect preserves
79
80 r5:
81   driver = redirect
82   domains = r5
83   address_data = redirect
84   data = nodata@test.ex
85
86
87 # ----- Retry -----
88
89 begin retry
90
91 *                *   F,5d,5m
92
93 # End