-
Notifications
You must be signed in to change notification settings - Fork 16
Migrating
Matt Simerson edited this page Dec 15, 2015
·
16 revisions
When building the vpopmail jail in MT6, you will be prompted to set the vpopmail options. The most important choice will be where the user databases are stored. If you had vpopmail_mysql=0
, then be sure to export TOASTER_MYSQL=0
, which will cause the vpopmail database to be CDB. If you had vpopmail_mysql=1
in your legacy toaster-watcher.conf file, then you'll be fine with the default of MySQL being enabled. Be sure to synchronize the other vpopmail options you had selected previously, especially valias and qmail extensions.
rsync -av old-mail.example.com:/usr/local/vpopmail/ /data/vpopmail/
If using MySQL for the vpopmail database, copy over the database from old to new mysql:
ssh old-mail.example.com mysqldump vpopmail | jexec mysql mysql vpopmail