Testsuite: handle OpenSSL 1.1.1
[exim.git] / test / confs / 0101
1 # Exim test configuration 0101
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 all:
18   driver = manualroute
19   domains = ! +local_domains
20   route_list = * 127.0.0.1 byname
21   self = send
22   transport = smtp
23   no_more
24
25 mmdf_localuser:
26   driver = accept
27   local_part_prefix = mmdf-
28   transport = mmdf_local_delivery
29
30 filtered_localuser:
31   driver = accept
32   local_part_prefix = filter-
33   transport = filtered_local_delivery
34
35 bsmtp_localuser:
36   driver = accept
37   local_parts = userz
38   transport = bsmtp_local_delivery
39
40 localuser:
41   driver = accept
42   local_parts = userx
43   transport = local_delivery
44
45
46 # ----- Transports -----
47
48 begin transports
49
50 smtp:
51   driver = smtp
52   port = PORT_S
53
54 local_delivery:
55   driver = pipe
56   check_string = "From "
57   command = /bin/sh -c 'cat >>DIR/test-mail/$local_part'
58   escape_string = ">From "
59   user = CALLER
60   current_directory = /
61
62 bsmtp_local_delivery:
63   driver = pipe
64   use_bsmtp
65   command = /bin/sh -c 'cat >>DIR/test-mail/$local_part'
66   delivery_date_add
67   envelope_to_add
68   return_path_add
69   user = CALLER
70   current_directory = /
71
72 filtered_local_delivery:
73   driver = pipe
74   command = /bin/sh -c 'cat >>DIR/test-mail/$local_part'
75   delivery_date_add
76   envelope_to_add
77   return_path_add
78   transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
79   user = CALLER
80   current_directory = /
81
82 mmdf_local_delivery:
83   driver = pipe
84   check_string = "\1\1\1\1\n"
85   command = /bin/sh -c 'cat >>DIR/test-mail/$local_part'
86   escape_string = "\1\1\1\1 \n"
87   message_prefix = "\1\1\1\1\n"
88   message_suffix = "\1\1\1\1\n"
89   user = CALLER
90   current_directory = /
91
92 # End