Fix non-TLS build
[exim.git] / test / confs / 0100
1 # Exim test configuration 0100
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 # ----- Routers -----
13
14 begin routers
15
16 filtered:
17   driver = manualroute
18   domains = ! +local_domains
19   route_list = filtered.com 127.0.0.1 byname
20   self = send
21   transport = filtered_smtp
22
23 rest:
24   driver = manualroute
25   domains = ! +local_domains
26   route_list = * 127.0.0.1 byname
27   self = send
28   transport = smtp
29   no_more
30
31 batch_localuser:
32   driver = accept
33   local_part_prefix = batch-
34   transport = batch_local_delivery
35
36 mmdf_localuser:
37   driver = accept
38   local_part_prefix = mmdf-
39   transport = mmdf_local_delivery
40
41 filtered_localuser:
42   driver = accept
43   local_part_prefix = filter-
44   transport = filtered_local_delivery
45
46 hackfree_localuser:
47   driver = accept
48   local_parts = usery
49   transport = hackfree_local_delivery
50
51 bsmtp_localuser:
52   driver = accept
53   local_parts = userz
54   transport = bsmtp_local_delivery
55
56 bsmtp_localuser_filtered:
57   driver = accept
58   local_parts = userw
59   retry_use_local_part
60   transport = bsmtp_local_delivery_filtered
61
62 localuser:
63   driver = accept
64   local_parts = userx
65   transport = local_delivery
66
67
68 # ----- Transports -----
69
70 begin transports
71
72 smtp:
73   driver = smtp
74   port = PORT_S
75   hosts_try_fastopen = :
76
77 filtered_smtp:
78   driver = smtp
79   port = PORT_S
80   hosts_try_fastopen = :
81   transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
82
83 local_delivery:
84   driver = appendfile
85   delivery_date_add
86   envelope_to_add
87   file = DIR/test-mail/${bless:$local_part}
88   return_path_add
89   current_directory = /
90   user = CALLER
91
92 hackfree_local_delivery:
93   driver = appendfile
94   delivery_date_add
95   envelope_to_add
96   file = DIR/test-mail/${bless:$local_part}
97   check_string =
98   return_path_add
99   user = CALLER
100   current_directory = /
101
102 bsmtp_local_delivery:
103   driver = appendfile
104   batch_max = 100
105   use_bsmtp
106   delivery_date_add
107   envelope_to_add
108   file = DIR/test-mail/${bless:$local_part}
109   return_path_add
110   user = CALLER
111   current_directory = /
112
113 bsmtp_local_delivery_filtered:
114   driver = appendfile
115   batch_max = 100
116   use_bsmtp
117   delivery_date_add
118   envelope_to_add
119   file = DIR/test-mail/${bless:$local_part}
120   return_path_add
121   transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
122   user = CALLER
123   current_directory = /
124
125 batch_local_delivery:
126   driver = appendfile
127   batch_max = 100
128   delivery_date_add
129   envelope_to_add
130   file = DIR/test-mail/CALLER
131   return_path_add
132   user = CALLER
133   current_directory = /
134
135 filtered_local_delivery:
136   driver = appendfile
137   delivery_date_add
138   envelope_to_add
139   file = DIR/test-mail/${bless:$local_part}
140   return_path_add
141   transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
142   current_directory = /
143   user = CALLER
144
145 mmdf_local_delivery:
146   driver = appendfile
147   check_string = "\1\1\1\1\n"
148   escape_string = "\1\1\1\1 \n"
149   file = DIR/test-mail/${bless:$local_part}
150   message_prefix = "\1\1\1\1\n"
151   message_suffix = "\1\1\1\1\n"
152   user = CALLER
153   current_directory = /
154
155 # End