3d9505e889615ade13993a4288a7c0b202994bce
[exim.git] / test / confs / 0264
1 # Exim test configuration 0264
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 queue_run_in_order
16
17 # ----- Transports -----
18
19 begin transports
20
21 local_delivery:
22   driver = appendfile
23   file = DIR/test-mail/$local_part
24   user = CALLER
25
26   quota = ${if eq{$local_part}{userx}{3}{10000}}
27   current_directory = /
28
29 local_delivery2:
30   driver = appendfile
31   retry_use_local_part = false
32   file = DIR/test-mail/$local_part
33   user = CALLER
34   quota = 3
35   current_directory = /
36
37 # ----- Routers -----
38
39 begin routers
40
41 r1:
42   driver = accept
43   local_parts = userx : usery : userz
44   domains = test.ex
45   transport = local_delivery
46
47 r2:
48   driver = accept
49   domains = test.ex
50   transport = local_delivery2
51
52 r3:
53   driver = redirect
54   retry_use_local_part
55   local_parts = ^r3
56   allow_defer
57   data = :defer: not just now
58
59 r4:
60   driver = redirect
61   local_parts = ^r4
62   allow_defer
63   data = :defer: not just now
64
65 r5:
66   driver = redirect
67   local_parts = ^r5
68   allow_defer
69   data = :defer: not just now
70
71 # ----- Retry -----
72
73 begin retry
74
75 ^\\*@r5domain.ex        *   F,10d,30m
76 "userx@test.ex"         *   F,10d,10m
77 test.ex                 *   F,20d,20m
78
79 *                       *   F,5d,5m
80
81 # End