[Mailman-Users] Migrating Mailman to New Server (Same Domain)

Mark Sapiro mark at msapiro.net
Mon Oct 24 11:37:10 EDT 2016


On 10/24/2016 06:41 AM, Jewel Brueggeman-Makda wrote:
> Would it be best to copy the entire mailman directory to the new server or just the lists and archives?  
> Command issued on new server to copy data from old.
> rsync -avr root at serverip:/usr/local/mailman /usr/local/mailman


That rsync should work if you want absolutely everything to be the same.
There could be issues if the whole environment is not the same. E.g. if
Mailman was configured --with-python=/usr/bin/python2.6 and the only
Python on the new server is Python 2.7.

Also, there can be considerations if E.g. the user number for the
'mailman' user is different on the new server, but rsync usually handles
that, at least if running as root on both ends.

That's why we suggest building a working Mailman on the new server and
just moving lists and archives.

Aside: the 'r' in '-avr' is redundant as it is implied by '-a'.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list