On 11/22/20 5:51 AM, Tony Stocker wrote:
On Sat, Nov 21, 2020 at 12:47 PM Mark Sapiro email@example.com wrote:
Basically, just "copy and paste" the /var/lib/mailman/lists directory from the old machine to the new. Also see https://wiki.list.org/x/4030682.
Will doing this also copy the config files that maintain the passwords for the various lists? So that our mailing list maintainers will be able to login as normal to manage things? What about the password that's used to create new mailing lists? Will it be copied as well when I copy that directory?
Assuming you don't use some kind of custom MemberAdaptor, all list specific settings including list admin and moderator passwords, list membership, member options, etc. are in the lists/LISTNAME/config.pck file.
The site admin and list creator passwords are files defined as SITE_PW_FILE and LISTCREATOR_PW_FILE in Defaults.py/mm_cfg.py. The defaults for these are /var/lib/mailman/data/adm.pw and /var/lib/mailman/data/creator.pw. Also in /var/lib/mailman/data/ are aliases and maybe virtual mappings for Mailman-Postfix integration, but these can be updated on the new server by running Mailman's bin/genaliases after moving the lists/* files. Other thinggs in data/ are installation specific and should not be moved.
-- Mark Sapiro firstname.lastname@example.org The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan