1 # Exim test configuration 0100
4 host_lookup_order = bydns
5 rfc1413_query_timeout = 0s
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
9 gecos_name = CALLER_NAME
11 # ----- Main settings -----
13 domainlist local_domains = test.ex
15 qualify_domain = test.ex
23 domains = ! +local_domains
24 route_list = filtered.com 127.0.0.1 byname
26 transport = filtered_smtp
30 domains = ! +local_domains
31 route_list = * 127.0.0.1 byname
38 local_part_prefix = batch-
39 transport = batch_local_delivery
43 local_part_prefix = mmdf-
44 transport = mmdf_local_delivery
48 local_part_prefix = filter-
49 transport = filtered_local_delivery
54 transport = hackfree_local_delivery
59 transport = bsmtp_local_delivery
61 bsmtp_localuser_filtered:
65 transport = bsmtp_local_delivery_filtered
70 transport = local_delivery
73 # ----- Transports -----
80 interface = ${if eq {$host}{127.0.0.1} {127.0.0.1}}
85 transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
91 file = DIR/test-mail/$local_part
96 hackfree_local_delivery:
100 file = DIR/test-mail/$local_part
104 current_directory = /
106 bsmtp_local_delivery:
112 file = DIR/test-mail/$local_part
115 current_directory = /
117 bsmtp_local_delivery_filtered:
123 file = DIR/test-mail/$local_part
125 transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
127 current_directory = /
129 batch_local_delivery:
134 file = DIR/test-mail/CALLER
137 current_directory = /
139 filtered_local_delivery:
143 file = DIR/test-mail/$local_part
145 transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
146 current_directory = /
151 check_string = "\1\1\1\1\n"
152 escape_string = "\1\1\1\1 \n"
153 file = DIR/test-mail/$local_part
154 message_prefix = "\1\1\1\1\n"
155 message_suffix = "\1\1\1\1\n"
157 current_directory = /