Add test for deferral case
[users/jgh/exim.git] / test / confs / 0516
1 # Exim test configuration 0516
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14
15 # ----- Routers -----
16
17 begin routers
18
19 r0:
20   driver = redirect
21   local_parts = alwaysdefer
22   allow_defer
23   data = :defer: Always
24
25 r1:
26   driver = redirect
27   local_parts = toplevel
28   data = deferfirsttime, second, third
29
30 r2:
31   driver = redirect
32   data = $local_part@$domain, alwaysdefer
33
34 r3:
35   driver = redirect
36   allow_defer
37   local_parts = deferfirsttime
38   condition = ${if first_delivery}
39   data = :defer: Defer the first time
40
41 r4:
42   driver = accept
43   transport = t1
44
45
46 # ----- Transports -----
47
48 begin transports
49
50 t1:
51   driver = appendfile
52   file = /dev/null
53   batch_max = 100
54   user = CALLER
55
56
57 # ----- Retry -----
58
59 begin retry
60
61 * * F,1h,1s
62
63 # End