Posted by: paragon | April 28, 2009

Mailman lists not being restored via cPanel – WHM

Q:

Anybody else able to verify this as a bug? When you restore an account from a backup, the mailman list and archive (if they exist for that account) are not restored.

The mailman lists are stored in the backup file under the mm directory. Suspended lists are store under the mms directory. And list archves are stored under the mma directory. All of these exist in the backup file of the account. But when restoring the archives, the contents of these directories are not found in the correspnding directories in /usr/local/cpanel/3rdparty/mailman.

I’m just wondering if anyone else is noticing this issue or not.

This appears to be present in 11.24.2-CURRENT_32283 and in 11.24.4-RELEASE_32603.

A:

The mailing lists are backed up in the backup package. They just aren’t restored. At least in the backups that I have seen.

You can extract just the mailing lists from the backup package:

tar -xvf /backup/cpbackup/daily/user.tar user/mma user/mms user/mm

or

tar -zxvf /backup/cpbackup/daily/user.tar.gz user/mma user/mms user/mm

replace user with the username of the account and replace /backup/cpbackup/daily/user.tar with the full path to the backup file.

This will create a subdirectory in the current directory called user and in that directory will be three subdirectories mm, mma, and mms.

mm will contain mailing lists for the account, the contents of this directory should be moved to /usr/local/cpanel/3rdparty/mailman/lists.

mma will contain mailing list archives for the mailing lists on this account. The contents of this directory should be moved to /usr/local/cpanel/3rdparty/mailman/archives.

mms will contain any suspended lists for the account, usually only happens if the account in question was suspended when the backup was created. The contents of this directory should be moved to /usr/local/cpanel/3rdparty/mailman/suspended.lists or /usr/local/cpanel/3rdparty/mailman/lists if you want the mailing list to be active.

ParagonHost / TheSpamBusters
http://www.ParagonHost.com

Follow ParagonHost on Twitter
http://twitter.com/paragonhost

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: