appendfile: refactor
[users/jgh/exim.git] / test / confs / 0226
1 # Exim test configuration 0226
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 qualify_domain = test.ex
9 timezone = EST
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   allow_defer
26   caseful_local_part
27   data = $local_part
28   domains = no.test.ex
29   forbid_file
30   forbid_pipe
31   retry_use_local_part
32
33 allowed:
34   driver = redirect
35   allow_defer
36   caseful_local_part
37   data = $local_part
38   file_transport = address_file
39   pipe_transport = address_pipe
40   retry_use_local_part
41   user = CALLER
42
43
44 # ----- Transports -----
45
46 begin transports
47
48 local_delivery:
49   driver = appendfile
50   file = DIR/test-mail/$local_part
51   user = CALLER
52
53 address_file:
54   driver = appendfile
55   user = CALLER
56
57 address_pipe:
58   driver = pipe
59   return_output
60
61
62 # ----- Retry -----
63
64
65 begin retry
66
67 * * F,5d,1d
68
69
70 # End