Community Documentation

Import Mailman subscriptions status

Last updated January 9, 2010. Created by samuelet on September 8, 2009.
Log in to edit this page.

The User Mailman Register Import Tool submodule can be used to quick import and syncronize subscriptions of existing users (status and passwords) from a mailman dumpdb file.
In most cases you don't need it, because the main module itself is able to syncronize subscriptions status "at request", but it's useful if other modules (like Mailman Manager) needs also mailman passwords or you want provide status information when the mailman server is unreachable by the web server for a long time.
After enabling it, you can find the import tab and using info inside the User Mailman Register admin page.
To create the dump file to import, first of all you need a shell access with mailman or greater user permission to your Mailman server.
Then you can redirect into a new file the output of the mailman dumpdb utility, executed with the pck config file path of your list as command line argument.
For example, in Linux Debian:

# /var/lib/mailman/bin/dumpdb /var/lib/mailman/lists/YOUR_LIST/config.pck > mailman.db

Before to import it, it is strongly recommended to MAKE A BACKUP of the mailman_users table so that it can be restored if the import process spolied the table for some unknown bug.

Page status

No known problems

Log in to edit this page

About this page

Drupal version
Drupal 5.x, Drupal 6.x
Audience
Site administrators

Site Building Guide

Drupal’s online documentation is © 2000-2012 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.
nobody click here