Mercurial > hg > mlmmj
comparison contrib/receivestrip/README @ 748:dfc9ab125fd4
Fix spelling of 'receive' and 'voodoo'; make mlmmj-recieve a symlink
author | Chris Webb |
---|---|
date | Sun, 03 Oct 2010 21:40:42 +1100 |
parents | contrib/recievestrip/README@2f98510cc11a |
children |
comparison
equal
deleted
inserted
replaced
747:fd77dd58bde1 | 748:dfc9ab125fd4 |
---|---|
1 mlmmj-receive-strip is a replacement for mlmmj-receive | |
2 | |
3 It opens the files control/mimedeny and control/mimestrip to get a list of mimetypes | |
4 for parts of multipart/mime messages that should be denied or stripped | |
5 | |
6 The parts then get stripped directly when the mail is received. | |
7 | |
8 mlmmj-receive-strip also appends an extra header | |
9 | |
10 X-ThisMailContainsUnwantedMimeParts: Y when the mail contains unwanted mime parts | |
11 | |
12 | |
13 Usage: | |
14 Compile the program in this directory with make and use "make install" to install it. | |
15 Afterwards replace mlmmj-receive with mlmmj-receive-strip in /etc/aliases for the mailinglist | |
16 you want to enable stripping and run newaliases | |
17 | |
18 | |
19 Then create the files mimedeny mimestrip in the control directory of your mailinglist. | |
20 | |
21 If control/mimestrip for example contains: | |
22 | |
23 text/html | |
24 application/octet-stream | |
25 | |
26 html texts and binarys will be stripped from the mail. | |
27 | |
28 When you also want to deny mails with certain mimeparts add the mimetypes to the mimedeny file | |
29 and add the following lines to the control/access file: | |
30 | |
31 deny ^X-ThisMailContainsUnwantedMimeParts: Y | |
32 allow | |
33 | |
34 You will most likely want to remove the X-ThisMailContainsUnwantedMimeParts | |
35 header by adding the following line to the control/delheaders file: | |
36 | |
37 X-ThisMailContainsUnwantedMimeParts: |