email archive importing from other server

Remitur

Verified User
Joined
May 11, 2018
Messages
71
Location
Sežana (Slovenia)
The issue: there's a Debian VPS; used only as mail server; no control panel installed, just exim and spamassassin and the other stuff required to manage the email service.
This VPS manages about 200 email address of a dozen of different domains, with about 30 GB of email archives.

I would like to migrate this service on a new VPS with DirectAdmin, and the question is: what's the best strategy to migrate email accounts and related archives?
Does exist any tool or trick to do it?

An idea would be:

a - mass creation of accounts on new VPS, with new passwords
(does exist any way to mass create email accounts, i.e. importing them from csv?)

b - reset of all user passwords on the old VPS

c - imapsync from old to new

d - communicate the new passwords to the users

Any better (and less time wasting) idea?
 
Hello,


a - mass creation of accounts on new VPS, with new passwords
(does exist any way to mass create email accounts, i.e. importing them from csv?)

No, at least from official directadmin developers. You might use API for a bulk creation.

b - reset of all user passwords on the old VPS

I'm not sure why you want it? Directadmin does not require it.

c - imapsync from old to new

Looks probably good, unless you can't use rsync

d - communicate the new passwords to the users

Unless you can't copy existing passwords to the new server server.

Any better (and less time wasting) idea?

rsync folders and passwords? Even if you use SQL database for storing password it's possible to create a simple script to dump them into a text file with a Directadmin (i.e. Dovecot) native syntax.
 
Back
Top