Testsuite: build a generic tls enabled client: client-anytls
[exim.git] / test / confs / 0102
CommitLineData
afda344b
PH
1# Exim test configuration 0102
2
d4dc049f
JH
3.include DIR/aux-var/std_conf_prefix
4
afda344b
PH
5
6# ----- Main settings -----
7
8domainlist local_domains = test.ex
9
10qualify_domain = test.ex
11
12
13# ----- Routers -----
14
15begin routers
16
17batch:
18 driver = accept
19 local_part_prefix = batch-
20 retry_use_local_part
21 transport = batch_bsmtp1
22
23localuser:
24 driver = accept
25 local_part_prefix = bsmtp_ : mmdf_
26 local_part_prefix_optional
27 retry_use_local_part
f3ebb786
JH
28 transport = ${if !def:local_part_prefix {} \
29 {${if eq {bsmtp_}{$local_part_prefix} {bsmtp_}\
30 {${if eq {mmdf_}{$local_part_prefix} {mmdf_} {}}}}}}local_delivery
afda344b
PH
31
32
33# ----- Transports -----
34
35begin transports
36
37local_delivery:
38 driver = appendfile
39 delivery_date_add
40 envelope_to_add
0d2e392e 41 file = DIR/test-mail/${bless:$local_part}
afda344b
PH
42 file_format = "From : local_delivery :\
43 MAIL : bsmtp_local_delivery :\
44 \1\1\1\1\n : mmdf_local_delivery :\
45 tpmissing : tpmissing"
46 return_path_add
47 user = CALLER
48
49bsmtp_local_delivery:
50 driver = appendfile
51 batch_max = 100
52 use_bsmtp
53 delivery_date_add
54 envelope_to_add
0d2e392e 55 file = DIR/test-mail/${bless:$local_part}
afda344b
PH
56 return_path_add
57 user = CALLER
58
59mmdf_local_delivery:
60 driver = appendfile
61 check_string = "\1\1\1\1\n"
62 escape_string = "\1\1\1\1 \n"
0d2e392e 63 file = DIR/test-mail/${bless:$local_part}
afda344b
PH
64 message_prefix = "\1\1\1\1\n"
65 message_suffix = "\1\1\1\1\n"
66 user = CALLER
67
68batch_bsmtp1:
69 driver = appendfile
70 batch_max = 100
71 use_bsmtp
72 file = DIR/test-mail/batched
73 file_format = "MAIL : batch_bsmtp2"
74 user = CALLER
75
76batch_bsmtp2:
77 driver = appendfile
78 batch_max = 100
79 use_bsmtp
80 file = DIR/test-mail/batched
81 user = CALLER
82
83# ----- Retry -----
84
85begin retry
86
87* * F,2d,2d
88
89# End