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