Import Mailman subscriptions status
This documentation needs work. See "Help improve this page" in the sidebar.
NOT AVAILABLE IN DRUPAL 7 VERSION BUT IS PLANNED TO BE INCLUDED IN DRUPAL 9 VERSION
The User Mailman Register Import Tool submodule can be used to import and synchronize subscriptions of existing users (status and passwords) from a dumpdb file generated by your Mailman server.
In most cases you don't need it, because the main module itself is able to synchronize subscriptions status upon request, but it's useful if, for example, you want to provide updated status information when the Mailman server is unreachable by the Drupal web server for a long time.
After enabling it the submodule, 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 spoiled the table for some unknown bug.
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion