Move to another server
Move OpenMail with all profiles, templates, tokens and logs to a new server.
On this page
To move OpenMail with everything in it, copy the databases folder. Your apps keep their tokens and template identifiers.
Steps
1. On the new server, install OpenMail and do not start it yet.
2. On the old server, stop OpenMail.
3. Copy the databases folder from the old app folder into the new app folder, for example:
scp -r databases user@new-server.example.com:/srv/openmail/4. Start OpenMail on the new server:
node index.js 8000 --release5. Open the admin interface with your primary access token and click Test in every profile to check that the new server can reach your SMTP servers.
6. Point your apps, or your DNS name, at the new server.
Images in templates
Images uploaded in the template editor are in databases/fs-files, so they move too. Their links in your templates contain the old address. If the address changes, upload the images again or change the links in the templates.
Only some profiles
To copy single profiles or templates instead, use Import and export.