Add support for generating mbox files
authorMagnus Hagander <magnus@hagander.net>
Sun, 26 Feb 2017 12:45:11 +0000 (13:45 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 26 Feb 2017 12:45:11 +0000 (13:45 +0100)
commit0911820c801c354d3b1c717bd33d714573dd7bf9
tree4a56d35cedc90891cc74c7c8a81dd6ae95dd73e3
parent2b102decd572f133e17e9676bbc6b4964b91aa41
Add support for generating mbox files

This consists of two parts:

1. A script that can generate the montly mbox files like we get from
   majordomo, for non-majordomo lists. It is not an exact fit for the
   way things were in majordomo, since we still to thread-joining
   between lists (as a fundamental result of the datamodel used we simply
   do not track individual messages per list).

2. The ability to download individual threads as mbox files. This allows
   the use of a local MUA to use them, and can also serve as a good way
   to "join" a discussion in an existing thread by getting the correct
   reply headers, as long as the user has a MUA capable of dealing with
   mbox files.
   The mbox URLs are protected with the same password as the raw message
   downloads, as they also contain unfiltered email addresses.
django/archives/mailarchives/templates/message.html
django/archives/mailarchives/templates/message_flat.html
django/archives/mailarchives/views.py
django/archives/urls.py
loader/generate_mbox.py [new file with mode: 0755]