Add test for deferral case
[users/jgh/exim.git] / test / confs / 0338
1 # Exim test configuration 0338
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 qualify_domain = test.ex
15 queue_run_in_order
16
17
18 # ----- Routers -----
19
20 begin routers
21
22 alias:
23   driver = redirect
24   local_parts = !\N^a\d\-\N
25   data = a1-$local_part@$domain, a2-$local_part@$domain
26   errors_to = postmaster@$domain
27   one_time
28
29 defer:
30   driver = redirect
31   local_parts = ^a1-
32   condition = ${if first_delivery{yes}{no}}
33   allow_defer
34   data = :defer: forced defer
35
36 accept:
37   driver = accept
38   transport = t1
39
40
41 # ----- Transports -----
42
43 begin transports
44
45 t1:
46   driver = appendfile
47   file = DIR/test-mail/$local_part
48   return_path_add
49   user = CALLER
50
51
52 # ----- Retry -----
53
54 begin retry
55
56 *  *  F,5m,1d
57
58 # End