1 |
mrjhb3 |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-imp-5.0.0/createlinks mezzanine_patched_e-smith-imp-5.0.0/createlinks |
2 |
|
|
--- e-smith-imp-5.0.0/createlinks 2008-04-23 11:32:57.000000000 -0500 |
3 |
|
|
+++ mezzanine_patched_e-smith-imp-5.0.0/createlinks 2010-01-25 01:24:20.000000000 -0600 |
4 |
|
|
@@ -4,7 +4,7 @@ |
5 |
|
|
|
6 |
|
|
# conf-imp |
7 |
|
|
|
8 |
|
|
-foreach (qw(prefs.php conf.php servers.php header.txt trailer.txt hooks.php)) |
9 |
|
|
+foreach (qw(prefs.php conf.php servers.php header.txt trailer.txt hooks.php mime_drivers.php)) |
10 |
|
|
{ |
11 |
|
|
templates2events("/home/httpd/html/horde/imp/config/$_", |
12 |
|
|
qw( |
13 |
|
|
@@ -13,7 +13,7 @@ |
14 |
|
|
)); |
15 |
|
|
} |
16 |
|
|
|
17 |
|
|
-foreach (qw(conf.php prefs.php servers.php hooks.php)) |
18 |
|
|
+foreach (qw(conf.php prefs.php servers.php hooks.php mime_drivers.php)) |
19 |
|
|
{ |
20 |
|
|
safe_symlink("/etc/e-smith/templates-default/template-begin-php", |
21 |
|
|
"root/etc/e-smith/templates/home/httpd/html/horde/imp/config/$_/template-begin"); |
22 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-imp-5.0.0/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/mime_drivers.php/10mime_drivers.php mezzanine_patched_e-smith-imp-5.0.0/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/mime_drivers.php/10mime_drivers.php |
23 |
|
|
--- e-smith-imp-5.0.0/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/mime_drivers.php/10mime_drivers.php 1969-12-31 18:00:00.000000000 -0600 |
24 |
|
|
+++ mezzanine_patched_e-smith-imp-5.0.0/root/etc/e-smith/templates/home/httpd/html/horde/imp/config/mime_drivers.php/10mime_drivers.php 2010-01-25 01:43:47.000000000 -0600 |
25 |
|
|
@@ -0,0 +1,311 @@ |
26 |
|
|
+/** |
27 |
|
|
+ * $Horde: imp/config/mime_drivers.php.dist,v 1.35.10.7 2009-06-20 21:37:43 jan Exp $ |
28 |
|
|
+ * |
29 |
|
|
+ * Decide which output drivers you want to activate for the IMP application. |
30 |
|
|
+ * Settings in this file override settings in horde/config/mime_drivers.php. |
31 |
|
|
+ * |
32 |
|
|
+ * Additional settings for IMP: |
33 |
|
|
+ * + If you want to limit the display of message data inline for large |
34 |
|
|
+ * messages of a certain type, add a 'limit_inline_size' parameter to the |
35 |
|
|
+ * desired mime type to the maximum size of the displayed message in bytes |
36 |
|
|
+ * (see example under text/plain below). If set, the user will only be able |
37 |
|
|
+ * to download the part. Don't set the parameter, or set to 0, to disable |
38 |
|
|
+ * this check. |
39 |
|
|
+ * |
40 |
|
|
+ * The available drivers are: |
41 |
|
|
+ * -------------------------- |
42 |
|
|
+ * alternative multipart/alternative parts |
43 |
|
|
+ * appledouble multipart/appledouble parts |
44 |
|
|
+ * enriched Enriched text messages |
45 |
|
|
+ * html HTML messages |
46 |
|
|
+ * images Attached images inline |
47 |
|
|
+ * itip iCalendar Transport-Independent Interoperability Protocol |
48 |
|
|
+ * multipart All other multipart/* messages |
49 |
|
|
+ * notification Notification messages |
50 |
|
|
+ * partial message/partial parts |
51 |
|
|
+ * pdf Portable Document Format (PDF) files |
52 |
|
|
+ * pgp PGP signed/encrypted messages |
53 |
|
|
+ * pkcs7 S/MIME signed/encrypted messages |
54 |
|
|
+ * plain URL syntax highlighting for text/plain parts |
55 |
|
|
+ * related multipart/related parts |
56 |
|
|
+ * rfc822 Digested messages |
57 |
|
|
+ * status Mail delivery status messages |
58 |
|
|
+ * tnef MS-TNEF attachments |
59 |
|
|
+ * zip ZIP attachments |
60 |
|
|
+ */ |
61 |
|
|
+$mime_drivers_map['imp']['registered'] = array( |
62 |
|
|
+ 'alternative', 'appledouble', 'enriched', 'html', 'images', 'itip', |
63 |
|
|
+ 'multipart', 'notification', 'partial', 'pdf', 'pgp', 'pkcs7', 'plain', |
64 |
|
|
+ 'related', 'rfc822', 'smil', 'status', 'tnef', 'zip' |
65 |
|
|
+); |
66 |
|
|
+ |
67 |
|
|
+/** |
68 |
|
|
+ * If you want to specifically override any MIME type to be handled by |
69 |
|
|
+ * a specific driver, then enter it here. Normally, this is safe to |
70 |
|
|
+ * leave, but it's useful when multiple drivers handle the same MIME |
71 |
|
|
+ * type, and you want to specify exactly which one should handle it. |
72 |
|
|
+ */ |
73 |
|
|
+$mime_drivers_map['imp']['overrides'] = array(); |
74 |
|
|
+ |
75 |
|
|
+/** |
76 |
|
|
+ * Driver specific settings. See horde/config/mime_drivers.php for |
77 |
|
|
+ * the format. |
78 |
|
|
+ */ |
79 |
|
|
+ |
80 |
|
|
+/** |
81 |
|
|
+ * Text driver settings |
82 |
|
|
+ */ |
83 |
|
|
+$mime_drivers['imp']['plain'] = array( |
84 |
|
|
+ 'inline' => true, |
85 |
|
|
+ 'handles' => array('text/plain', 'text/rfc822-headers', 'application/pgp'), |
86 |
|
|
+ /* If you want to scan ALL incoming messages for UUencoded data, set the |
87 |
|
|
+ * following to true. This is very performance intensive and can take a |
88 |
|
|
+ * long time for large messages. It is not recommended and is disabled by |
89 |
|
|
+ * default. */ |
90 |
|
|
+ 'uuencode' => false, |
91 |
|
|
+ /* If you want to limit the display of message data inline for large |
92 |
|
|
+ * messages, set the maximum size of the displayed message here (in |
93 |
|
|
+ * bytes). If exceeded, the user will only be able to download the part. |
94 |
|
|
+ * Set to 0 to disable this check. */ |
95 |
|
|
+{ |
96 |
|
|
+ return " 'limit_inline_size' => " . ($horde{Limitinlinesize} || 1048576) |
97 |
|
|
+} |
98 |
|
|
+); |
99 |
|
|
+ |
100 |
|
|
+/** |
101 |
|
|
+ * HTML driver settings |
102 |
|
|
+ */ |
103 |
|
|
+$mime_drivers['imp']['html'] = array( |
104 |
|
|
+ 'inline' => { $horde{inlineHTML} || 'true' }, |
105 |
|
|
+ 'handles' => array( |
106 |
|
|
+ 'text/html' |
107 |
|
|
+ ), |
108 |
|
|
+ 'icons' => array( |
109 |
|
|
+ 'default' => 'html.png' |
110 |
|
|
+ ), |
111 |
|
|
+ /* If you don't want to display the link to open the HTML content in a |
112 |
|
|
+ * separate window, set the following to false. */ |
113 |
|
|
+ 'external' => true, |
114 |
|
|
+ /* Run 'tidy' on all HTML output? This requires at least version 2.0 of the |
115 |
|
|
+ * PECL 'tidy' extension to be installed on your system. */ |
116 |
|
|
+ 'tidy' => false, |
117 |
|
|
+ /* Check for phishing exploits? */ |
118 |
|
|
+ 'phishing_check' => true |
119 |
|
|
+); |
120 |
|
|
+ |
121 |
|
|
+/** |
122 |
|
|
+ * Default smil driver settings |
123 |
|
|
+ */ |
124 |
|
|
+$mime_drivers['imp']['smil'] = array( |
125 |
|
|
+ 'inline' => true, |
126 |
|
|
+ 'handles' => array( |
127 |
|
|
+ 'application/smil' |
128 |
|
|
+ ) |
129 |
|
|
+); |
130 |
|
|
+ |
131 |
|
|
+/** |
132 |
|
|
+ * Image driver settings |
133 |
|
|
+ */ |
134 |
|
|
+$mime_drivers['imp']['images'] = array( |
135 |
|
|
+ 'inline' => { $horde{inlineImages} || 'true' }, |
136 |
|
|
+ 'handles' => array( |
137 |
|
|
+ 'image/*' |
138 |
|
|
+ ), |
139 |
|
|
+ 'icons' => array( |
140 |
|
|
+ 'default' => 'image.png' |
141 |
|
|
+ ), |
142 |
|
|
+ /* Display thumbnails for all images, not just large images? */ |
143 |
|
|
+ 'allthumbs' => true |
144 |
|
|
+); |
145 |
|
|
+ |
146 |
|
|
+/** |
147 |
|
|
+ * Enriched text driver settings |
148 |
|
|
+ */ |
149 |
|
|
+$mime_drivers['imp']['enriched'] = array( |
150 |
|
|
+ 'inline' => true, |
151 |
|
|
+ 'handles' => array( |
152 |
|
|
+ 'text/enriched' |
153 |
|
|
+ ), |
154 |
|
|
+ 'icons' => array( |
155 |
|
|
+ 'default' => 'text.png' |
156 |
|
|
+ ) |
157 |
|
|
+); |
158 |
|
|
+ |
159 |
|
|
+/** |
160 |
|
|
+ * PDF settings |
161 |
|
|
+ */ |
162 |
|
|
+$mime_drivers['imp']['pdf'] = array( |
163 |
|
|
+ 'inline' => false, |
164 |
|
|
+ 'handles' => array( |
165 |
|
|
+ 'application/pdf', 'image/pdf' |
166 |
|
|
+ ), |
167 |
|
|
+ 'icons' => array( |
168 |
|
|
+ 'default' => 'pdf.png' |
169 |
|
|
+ ) |
170 |
|
|
+); |
171 |
|
|
+ |
172 |
|
|
+/** |
173 |
|
|
+ * PGP settings |
174 |
|
|
+ */ |
175 |
|
|
+$mime_drivers['imp']['pgp'] = array( |
176 |
|
|
+ 'inline' => true, |
177 |
|
|
+ 'handles' => array( |
178 |
|
|
+ 'application/pgp-encrypted', 'application/pgp-keys', |
179 |
|
|
+ 'application/pgp-signature' |
180 |
|
|
+ ), |
181 |
|
|
+ 'icons' => array( |
182 |
|
|
+ 'default' => 'encryption.png' |
183 |
|
|
+ ), |
184 |
|
|
+ /* Turn background green or red depending on whether a signature could |
185 |
|
|
+ * be verified? */ |
186 |
|
|
+ 'highlight' => true |
187 |
|
|
+); |
188 |
|
|
+ |
189 |
|
|
+/** |
190 |
|
|
+ * PKCS7 settings (S/MIME) |
191 |
|
|
+ */ |
192 |
|
|
+$mime_drivers['imp']['pkcs7'] = array( |
193 |
|
|
+ 'inline' => true, |
194 |
|
|
+ 'handles' => array( |
195 |
|
|
+ 'application/x-pkcs7-signature', 'application/x-pkcs7-mime', |
196 |
|
|
+ 'application/pkcs7-signature', 'application/pkcs7-mime' |
197 |
|
|
+ ), |
198 |
|
|
+ 'icons' => array( |
199 |
|
|
+ 'default' => 'encryption.png' |
200 |
|
|
+ ), |
201 |
|
|
+ /* Turn background green or red depending on whether a signature could |
202 |
|
|
+ * be verified? */ |
203 |
|
|
+ 'highlight' => true |
204 |
|
|
+); |
205 |
|
|
+ |
206 |
|
|
+/** |
207 |
|
|
+ * Digest message (message/rfc822) settings |
208 |
|
|
+ */ |
209 |
|
|
+$mime_drivers['imp']['rfc822'] = array( |
210 |
|
|
+ 'inline' => false, |
211 |
|
|
+ 'handles' => array( |
212 |
|
|
+ 'message/rfc822' |
213 |
|
|
+ ), |
214 |
|
|
+ 'icons' => array( |
215 |
|
|
+ 'default' => 'mail.png' |
216 |
|
|
+ ) |
217 |
|
|
+); |
218 |
|
|
+ |
219 |
|
|
+/** |
220 |
|
|
+ * Zip File Attachments settings |
221 |
|
|
+ */ |
222 |
|
|
+$mime_drivers['imp']['zip'] = array( |
223 |
|
|
+ 'inline' => false, |
224 |
|
|
+ 'handles' => array( |
225 |
|
|
+ 'application/zip', 'application/x-compressed', |
226 |
|
|
+ 'application/x-zip-compressed' |
227 |
|
|
+ ), |
228 |
|
|
+ 'icons' => array( |
229 |
|
|
+ 'default' => 'compressed.png' |
230 |
|
|
+ ) |
231 |
|
|
+); |
232 |
|
|
+ |
233 |
|
|
+/** |
234 |
|
|
+ * Delivery Status messages settings |
235 |
|
|
+ */ |
236 |
|
|
+$mime_drivers['imp']['status'] = array( |
237 |
|
|
+ 'inline' => true, |
238 |
|
|
+ 'handles' => array( |
239 |
|
|
+ 'message/delivery-status' |
240 |
|
|
+ ) |
241 |
|
|
+); |
242 |
|
|
+ |
243 |
|
|
+/** |
244 |
|
|
+ * Disposition Notification message settings |
245 |
|
|
+ */ |
246 |
|
|
+$mime_drivers['imp']['notification'] = array( |
247 |
|
|
+ 'inline' => true, |
248 |
|
|
+ 'handles' => array( |
249 |
|
|
+ 'message/disposition-notification' |
250 |
|
|
+ ) |
251 |
|
|
+); |
252 |
|
|
+ |
253 |
|
|
+/** |
254 |
|
|
+ * multipart/appledouble settings |
255 |
|
|
+ */ |
256 |
|
|
+$mime_drivers['imp']['appledouble'] = array( |
257 |
|
|
+ 'inline' => true, |
258 |
|
|
+ 'handles' => array( |
259 |
|
|
+ 'multipart/appledouble' |
260 |
|
|
+ ) |
261 |
|
|
+); |
262 |
|
|
+ |
263 |
|
|
+/** |
264 |
|
|
+ * iCalendar Transport-Independent Interoperability Protocol |
265 |
|
|
+ */ |
266 |
|
|
+$mime_drivers['imp']['itip'] = array( |
267 |
|
|
+ 'inline' => true, |
268 |
|
|
+ 'handles' => array( |
269 |
|
|
+ 'text/calendar', 'text/x-vcalendar' |
270 |
|
|
+ ), |
271 |
|
|
+ 'icons' => array( |
272 |
|
|
+ 'default' => 'itip.png' |
273 |
|
|
+ ) |
274 |
|
|
+); |
275 |
|
|
+ |
276 |
|
|
+/** |
277 |
|
|
+ * multipart/alternative settings |
278 |
|
|
+ * YOU SHOULD NOT NORMALLY ALTER THIS SETTING. |
279 |
|
|
+ */ |
280 |
|
|
+$mime_drivers['imp']['alternative'] = array( |
281 |
|
|
+ 'inline' => true, |
282 |
|
|
+ 'handles' => array( |
283 |
|
|
+ 'multipart/alternative' |
284 |
|
|
+ ) |
285 |
|
|
+); |
286 |
|
|
+ |
287 |
|
|
+/** |
288 |
|
|
+ * multipart/related settings |
289 |
|
|
+ * YOU SHOULD NOT NORMALLY ALTER THIS SETTING. |
290 |
|
|
+ */ |
291 |
|
|
+$mime_drivers['imp']['related'] = array( |
292 |
|
|
+ 'inline' => true, |
293 |
|
|
+ 'handles' => array( |
294 |
|
|
+ 'multipart/related' |
295 |
|
|
+ ), |
296 |
|
|
+ 'icons' => array( |
297 |
|
|
+ 'default' => 'html.png' |
298 |
|
|
+ ) |
299 |
|
|
+); |
300 |
|
|
+ |
301 |
|
|
+/** |
302 |
|
|
+ * message/partial settings |
303 |
|
|
+ * YOU SHOULD NOT NORMALLY ALTER THIS SETTING. |
304 |
|
|
+ */ |
305 |
|
|
+$mime_drivers['imp']['partial'] = array( |
306 |
|
|
+ 'inline' => true, |
307 |
|
|
+ 'handles' => array( |
308 |
|
|
+ 'message/partial' |
309 |
|
|
+ ) |
310 |
|
|
+); |
311 |
|
|
+ |
312 |
|
|
+/** |
313 |
|
|
+ * All other multipart/* messages |
314 |
|
|
+ * YOU SHOULD NOT NORMALLY ALTER THIS SETTING. |
315 |
|
|
+ */ |
316 |
|
|
+$mime_drivers['imp']['multipart'] = array( |
317 |
|
|
+ 'inline' => true, |
318 |
|
|
+ 'handles' => array( |
319 |
|
|
+ 'multipart/*' |
320 |
|
|
+ ) |
321 |
|
|
+); |
322 |
|
|
+ |
323 |
|
|
+/** |
324 |
|
|
+ * MS-TNEF Attachment (application/ms-tnef) settings |
325 |
|
|
+ * YOU SHOULD NOT NORMALLY ALTER THIS SETTING. |
326 |
|
|
+ */ |
327 |
|
|
+$mime_drivers['imp']['tnef'] = array( |
328 |
|
|
+ 'inline' => false, |
329 |
|
|
+ 'handles' => array( |
330 |
|
|
+ 'application/ms-tnef' |
331 |
|
|
+ ), |
332 |
|
|
+ 'icons' => array( |
333 |
|
|
+ 'default' => 'binary.png' |
334 |
|
|
+ ) |
335 |
|
|
+); |
336 |
|
|
+ |
337 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-imp-5.0.0/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/mime_drivers.php mezzanine_patched_e-smith-imp-5.0.0/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/mime_drivers.php |
338 |
|
|
--- e-smith-imp-5.0.0/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/mime_drivers.php 1969-12-31 18:00:00.000000000 -0600 |
339 |
|
|
+++ mezzanine_patched_e-smith-imp-5.0.0/root/etc/e-smith/templates.metadata/home/httpd/html/horde/imp/config/mime_drivers.php 2010-01-25 01:24:40.000000000 -0600 |
340 |
|
|
@@ -0,0 +1,2 @@ |
341 |
|
|
+GID="www" |
342 |
|
|
+PERMS=0640 |