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