Import Mailman subscriptions status
Import Mailman subscriptions status
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 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.dbBefore 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.
