annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
748
dfc9ab125fd4 Fix spelling of 'receive' and 'voodoo'; make mlmmj-recieve a symlink
Chris Webb
parents: 675
diff changeset
1 mlmmj-receive-strip is a replacement for mlmmj-receive
631
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
2
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
3 It opens the files control/mimedeny and control/mimestrip to get a list of mimetypes
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
4 for parts of multipart/mime messages that should be denied or stripped
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
5
748
dfc9ab125fd4 Fix spelling of 'receive' and 'voodoo'; make mlmmj-recieve a symlink
Chris Webb
parents: 675
diff changeset
6 The parts then get stripped directly when the mail is received.
631
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
7
748
dfc9ab125fd4 Fix spelling of 'receive' and 'voodoo'; make mlmmj-recieve a symlink
Chris Webb
parents: 675
diff changeset
8 mlmmj-receive-strip also appends an extra header
631
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
9
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
10 X-ThisMailContainsUnwantedMimeParts: Y when the mail contains unwanted mime parts
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
11
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
12
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
13 Usage:
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
14 Compile the program in this directory with make and use "make install" to install it.
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
15 Afterwards replace mlmmj-receive with mlmmj-receive-strip in /etc/aliases for the mailinglist
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
16 you want to enable stripping and run newaliases
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
17
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
18
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
19 Then create the files mimedeny mimestrip in the control directory of your mailinglist.
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
20
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
21 If control/mimestrip for example contains:
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
22
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
23 text/html
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
24 application/octet-stream
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
25
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
26 html texts and binarys will be stripped from the mail.
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
27
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
28 When you also want to deny mails with certain mimeparts add the mimetypes to the mimedeny file
675
2f98510cc11a added a note about removing the X-ThisMailContainsUnwantedMimeParts header
mortenp
parents: 631
diff changeset
29 and add the following lines to the control/access file:
631
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
30
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
31 deny ^X-ThisMailContainsUnwantedMimeParts: Y
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
32 allow
44021d2ebe92 Added contrib/recievestrip/ MIME processor (Sascha Sommer)
mortenp
parents:
diff changeset
33
675
2f98510cc11a added a note about removing the X-ThisMailContainsUnwantedMimeParts header
mortenp
parents: 631
diff changeset
34 You will most likely want to remove the X-ThisMailContainsUnwantedMimeParts
2f98510cc11a added a note about removing the X-ThisMailContainsUnwantedMimeParts header
mortenp
parents: 631
diff changeset
35 header by adding the following line to the control/delheaders file:
2f98510cc11a added a note about removing the X-ThisMailContainsUnwantedMimeParts header
mortenp
parents: 631
diff changeset
36
2f98510cc11a added a note about removing the X-ThisMailContainsUnwantedMimeParts header
mortenp
parents: 631
diff changeset
37 X-ThisMailContainsUnwantedMimeParts: