Symptoms
Advanced settings of mailing lists and Mailman archives are not transferred by Plesk Migrator.
Cause
Migration & Transfer Manager transfers only basic settings of mailing lists: list administrator, subscribers. Mailing list archives and other settings are not transferred, since Plesk cannot manage them.
Resolution
It is possible to transfer configuration of mailing list(s) using Mailman's config_list
utility.
Below example shows how to transfer the settings of the mailing list mail_list1 from a source server to destination:
-
Connect to the source Plesk server via SSH.
-
Save the mailing list configuration into the file mail_list1.conf:
# /usr/lib/mailman/bin/config_list -o mail_list1.conf maillist1
-
Transfer mail_list1.conf to the destination server, where domain with mailing list has already been migrated, and restore the configuration:
# /usr/lib/mailman/bin/config_list -i mail_list1.conf mail_list1
-
Connect to the source Plesk server via SSH.
-
Create a folder for the configuration files and open it:
# mkdir /root/list_configs && cd /root/list_configs
-
Create configuration backups for all mailing lists:
# for i in $(ls /var/lib/mailman/lists/ |grep -v mailman); do /usr/lib/mailman/bin/config_list -o $i.conf $i;done
-
Connect to the destination Plesk server via SSH and create the same directory:
# mkdir /root/list_configs && cd /root/list_configs
-
Copy the files from the source Plesk server to the destination server.
-
Restore the mailing lists' configuration:
# for i in $(ls);do /usr/lib/mailman/bin/config_list -i $i `ls $i| cut -d. -f1` ;done
If you want Plesk Migrator to transfer Mailman archives, vote for this functionality on Plesk UserVoice.