Prototype for strchrnul() on platforms lacking one (OpenBSD)
[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/$local_part
36   create_file = DIR/test-mail
37   file_format = "From       : local_delivery :\
38                  *mbx*\r\n  : mbx_local_delivery :\
39                  tpmissing  : tpmissing"
40   return_path_add
41   user = CALLER
42
43 bsmtp_local_delivery:
44   driver = appendfile
45   batch_max = 100
46   use_bsmtp
47   delivery_date_add
48   envelope_to_add
49   file = DIR/test-mail/$local_part
50   create_file = DIR/test-mail
51   return_path_add
52   user = CALLER
53
54 mbx_local_delivery:
55   driver = appendfile
56   check_string =
57   delivery_date_add
58   envelope_to_add
59   file = DIR/test-mail/$local_part
60   create_file = DIR/test-mail
61   mbx_format
62   message_prefix =
63   return_path_add
64   message_suffix =
65   user = CALLER
66
67
68 # ----- Retry -----
69
70 begin retry
71
72 * * F,2d,2d
73
74 # End