Make printf of gstring null-safe
[exim.git] / test / confs / 0237
1 # Exim test configuration 0237
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 domainlist local_domains = test.ex : *.test.ex
9 qualify_domain = test.ex
10
11
12 # ----- Routers -----
13
14 begin routers
15
16 bounces:
17   driver = accept
18   caseful_local_part
19   retry_use_local_part
20   senders = :
21   transport = local_delivery
22
23 notallowed:
24   driver = redirect
25   domains = no.test.ex
26   allow_defer
27   caseful_local_part
28   data = ${extract {$local_part} \
29           { file1=/a/b/c \
30             pipe1=|/p/q/r \
31             file2=DIR/test-mail/file \
32             pipe2=|DIR/aux-fixed/showenv}}
33   forbid_file
34   forbid_pipe
35   hide_child_in_errmsg
36   retry_use_local_part
37
38 allowed:
39   driver = redirect
40   allow_defer
41   caseful_local_part
42   data = ${extract {$local_part} \
43           { file1=/a/b/c \
44             pipe1=|/p/q/r \
45             file2=DIR/test-mail/file \
46             pipe2=|DIR/aux-fixed/showenv}}
47   file_transport = address_file
48   hide_child_in_errmsg
49   pipe_transport = address_pipe
50   retry_use_local_part
51   user = CALLER
52
53
54 # ----- Transports -----
55
56 begin transports
57
58 local_delivery:
59   driver = appendfile
60   file = DIR/test-mail/$local_part
61   create_file = DIR/test-mail
62   user = CALLER
63
64 address_file:
65   driver = appendfile
66   user = CALLER
67
68 address_pipe:
69   driver = pipe
70   return_output
71
72
73 # ----- Retry -----
74
75
76 begin retry
77
78 * * F,5d,1d
79
80
81 # End