Plesk

Mailing list archives and settings are not transferred by Plesk Migrator

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.

 

Transferring configuration of one mailing list

 

Below example shows how to transfer the settings of the mailing list mail_list1 from a source server to destination:

  1. Connect to the source Plesk server via SSH.

  2. Save the mailing list configuration into the file mail_list1.conf:

    # /usr/lib/mailman/bin/config_list -o mail_list1.conf maillist1

  3. 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

 

Transferring configuration of all mailing lists

 

  1. Connect to the source Plesk server via SSH.

  2. Create a folder for the configuration files and open it:

    # mkdir /root/list_configs && cd /root/list_configs

  3. 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

  4. Connect to the destination Plesk server via SSH and create the same directory:

    # mkdir /root/list_configs && cd /root/list_configs

  5. Copy the files from the source Plesk server to the destination server.

  6. 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.