Skip to content

kantinen/mailman2-archiver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mailman2 Archiver

Here's a script to download your mailman2 archive.

Configuration

To use the script, you will have to create a configuration file containing e.g. the following:

BASEURL="https://ourmailmandomain.org/mailman/private"
LIST="ourmailinglist"
USERNAME="[email protected]"
PASSWORD="password123"

You should've gotten the password when you signed up for the mailing list, otherwise, you can ask your mailman to send your plain-text(!!!) password to you.

For user-friendliness, you can add the following Vim and Emacs modelines at the top of your configuration file:

# -*- mode: conf-mode -*-
# vim: set ft=config

Archiving

Assuming you have a mailman.conf and want to archive everything, you can just do:

$ ./archive.sh

This will create a folder $LIST with the archive under the working directory. This folder, together with the given configuration file will also be added to a .gitignore in the working directory to discourage you from accidentally publishing your password.

To specify a configuration file other than mailman.conf, use the -c or --conf option:

$ ./archive.sh -c kantinen.org--bestyrelsen.conf

To archive a particular sub-archive, specify it as the follow-up argument. For instance:

$ ./archive.sh 2015-March

or

$ ./archive.sh -c kantinen.org--bestyrelsen.conf 2015-March

License

MIT licensed

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%