Do RE compilations at daemon startup. Bug 1568
[users/heiko/exim.git] / test / confs / 0364
1 # Exim test configuration 0364
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
7 gecos_pattern = ""
8 gecos_name = CALLER_NAME
9
10 # ----- Main settings -----
11
12 qualify_domain = test.ex
13
14
15 # ----- Routers -----
16
17 begin routers
18
19 r1:
20   driver = redirect
21   domains = \N^[^.]+$\N
22   address_data = $domain
23   data = $local_part@$domain.test.ex
24   redirect_router = r2
25
26 r2:
27   driver = dnslookup
28   domains = !thishost.test.ex
29   transport = t1
30
31 r3:
32   driver = redirect
33   domains = !thishost.test.ex
34   condition = ${if eq{$address_data}{}{no}{yes}}
35   address_data =
36   data = $local_part@$original_domain.sub.test.ex
37   redirect_router = r2
38
39 r4:
40   driver = redirect
41   domains = !thishost.test.ex
42   allow_fail
43   data = :fail:Can't route to $domain
44
45 r5:
46   driver = accept
47   transport = t2
48
49
50 # ----- Transports -----
51
52 begin transports
53
54 t1:
55   driver = smtp
56
57 t2:
58   driver = appendfile
59   file = /dev/null
60   user = CALLER
61
62
63 # ----- Retry -----
64
65 begin retry
66
67 *   *   F,3s,1s; G,1h,2s,2
68
69 # End