testsuite: abstract out common conf settings
[exim.git] / test / confs / 0102
1 # Exim test configuration 0102
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 batch:
18   driver = accept
19   local_part_prefix = batch-
20   retry_use_local_part
21   transport = batch_bsmtp1
22
23 localuser:
24   driver = accept
25   local_part_prefix = bsmtp_ : mmdf_
26   local_part_prefix_optional
27   retry_use_local_part
28   transport = ${local_part_prefix}local_delivery
29
30
31 # ----- Transports -----
32
33 begin transports
34
35 local_delivery:
36   driver = appendfile
37   delivery_date_add
38   envelope_to_add
39   file = DIR/test-mail/$local_part
40   file_format = "From       : local_delivery :\
41                  MAIL       : bsmtp_local_delivery :\
42                  \1\1\1\1\n : mmdf_local_delivery :\
43                  tpmissing  : tpmissing"
44   return_path_add
45   user = CALLER
46
47 bsmtp_local_delivery:
48   driver = appendfile
49   batch_max = 100
50   use_bsmtp
51   delivery_date_add
52   envelope_to_add
53   file = DIR/test-mail/$local_part
54   return_path_add
55   user = CALLER
56
57 mmdf_local_delivery:
58   driver = appendfile
59   check_string = "\1\1\1\1\n"
60   escape_string = "\1\1\1\1 \n"
61   file = DIR/test-mail/$local_part
62   message_prefix = "\1\1\1\1\n"
63   message_suffix = "\1\1\1\1\n"
64   user = CALLER
65
66 batch_bsmtp1:
67   driver = appendfile
68   batch_max = 100
69   use_bsmtp
70   file = DIR/test-mail/batched
71   file_format = "MAIL : batch_bsmtp2"
72   user = CALLER
73
74 batch_bsmtp2:
75   driver = appendfile
76   batch_max = 100
77   use_bsmtp
78   file = DIR/test-mail/batched
79   user = CALLER
80
81 # ----- Retry -----
82
83 begin retry
84
85 * * F,2d,2d
86
87 # End