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