Differences between revisions 5 and 6
Revision 5 as of 2015-12-05 22:13:05
Size: 3259
Editor: terri
Comment: Starting to fill out the backup section.
Revision 6 as of 2016-03-08 20:51:38
Size: 3403
Editor: SimonHanna
Comment: Add instructions on how to setup the dev environment
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
== How do I install Mailman 3? == == How do I install Mailman 3 for production? ==
Line 23: Line 23:
== How do I install Mailman 3 directly from git if I want to do development? == == How do I install Mailman 3 for development? ==

Everything you need to know on how to setup Mailman 3 for development can be found in the getting started section of the [[DEV/Home|development homepage]].

Mailman 3 documentation

Mailman 3 is still pretty new, and most of the docs are built with the packages: Links to all the docs

Unlike Mailman 2, Mailman 3 has been divided into a number of parts:

  • Mailman Suite refers to the collection of related Mailman projects that provide all the pieces of a typical mailing list management setup.

  • Mailman Core is the part that delivers the emails and handles the mailing list and user data

  • Postorius is the web interface that allows users (list members, list admins, moderators) to change their user settings and the settings for their lists.

  • HyperKitty is the archiver which provides a web interface to access GNU Mailman v3 archives as well as ways interact with the lists. It can behave a little like a web forum, for those who prefer not to use email.

  • MailmanClient is the library that provides official Python bindings for the GNU Mailman 3 REST API. This allows you to write your own front end or scripts for interacting with Mailman. (It's also what Postorius uses to interact with Mailman Core.)

  • Mailman Bundler is a tool to help you install all of Mailman Suite via PyPI

A typical install would use all of these pieces together, but they're intended to be modular so you could replace a single piece if you had specific needs.

How do I install Mailman 3 for production?

Right now, the easiest way is probably to use the Mailman 3 bundler.

The Mailman bundler documentation is reasonably comprehensive. It guides you through an initial setup and then gives tips on how to switch it to a production setup. The production documentation hasn't been tested by a huge number of people yet: if you have any suggestions on how it could be improved, please file documentation bugs on GitLab or let us know via the mailman mailing lists.

How do I install Mailman 3 for development?

Everything you need to know on how to setup Mailman 3 for development can be found in the getting started section of the development homepage.

How do I upgrade from Mailman 2 to Mailman 3?

How do I backup my Mailman 3 installation?

If you installed using mailman-bundler, all the data files for your running lists are stored in $mailman-bundler/var (where $mailman-bundler is the directory where you installed the bundler).

To back up those files, you probably want to stop mailman so that none of the files change while you're backing them up. Don't worry, email will generally queue up if messages can't be delivered, so unless you have a highly unusual mail setup there's no harm in taking mailman offline for a few minutes. Then make a copy of all the files in var/

On Linux, you'll be doing something like:

bin/mailman stop
cp -r var/ $backup_directory/
bin/mailman start

where $backup_directory is the name of your backup directory (e.g. ~/backup/2015-12-05/)

You probably also made changes to config in

mailman_web/development.py
mailman_web/production.py

which may also need to be saved.

Where can I find my Mailman 3 configuration files?

MailmanWiki: DOC/Mailman3 (last edited 2018-04-20 07:02:13 by maxking)