ACL: control = queue/first_pass_route
[users/jgh/exim.git] / test / confs / 5050
1 # Exim test configuration 5050
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 domainlist local_domains = test.ex
9
10 qualify_domain = test.ex
11
12
13 # ----- Routers -----
14
15 begin routers
16
17 localuser:
18   driver = accept
19   local_part_prefix = bsmtp_ : mmdf_ : mbx_
20   local_part_prefix_optional
21   retry_use_local_part
22   transport = ${if eq {bsmtp_} {${local_part_prefix}} {bsmtp_} \
23                 {${if eq {mmdf_} {${local_part_prefix}} {mmdf_} \
24                 {${if eq {mbx_} {${local_part_prefix}} {mbx_}{}}}}}}local_delivery
25
26
27 # ----- Transports -----
28
29 begin transports
30
31 local_delivery:
32   driver = appendfile
33   delivery_date_add
34   envelope_to_add
35   file = DIR/test-mail/${bless:$local_part}
36   file_format = "From       : local_delivery :\
37                  *mbx*\r\n  : mbx_local_delivery :\
38                  tpmissing  : tpmissing"
39   return_path_add
40   user = CALLER
41
42 bsmtp_local_delivery:
43   driver = appendfile
44   batch_max = 100
45   use_bsmtp
46   delivery_date_add
47   envelope_to_add
48   file = DIR/test-mail/${bless:$local_part}
49   return_path_add
50   user = CALLER
51
52 mbx_local_delivery:
53   driver = appendfile
54   check_string =
55   delivery_date_add
56   envelope_to_add
57   file = DIR/test-mail/${bless:$local_part}
58   mbx_format
59   message_prefix =
60   return_path_add
61   message_suffix =
62   user = CALLER
63
64
65 # ----- Retry -----
66
67 begin retry
68
69 * * F,2d,2d
70
71 # End