---
# System prepended metadata

title: How to Transfer Mailcow Emails to a New Server?

---

# How to Transfer Mailcow Emails to a New Server? Quick Guide

Are you migrating your mailboxes from Mailcow to another server but do not know how to start? Many people face problems while transferring the email data, especially when they are using Mailcow. This process may seem so daunting, but with the right guidance and tools, it can be smooth. In this post, I will give you a crystal-clear step-by-step approach to easily help you **[move Mailcow emails to a new server](https://www.bitrecover.com/blog/migrate-mailcow-to-new-server/)** without any hassle.

Mailcow Email refers to an open-source email suite wherein various components are combined to deliver all-in-one email solutions. It is designed to make your email services run efficiently and hence, is capable of delivering aspects such as email hosting, calendar sharing and contact management. Mailcow can use Docker containers, making this a rather simple setup. The platform supports multiple email protocols, including IMAP and SMTP, to ensure compatibility with different email clients. Furthermore, Mailcow focuses on security and privacy, providing users with tools to manage their own email servers while protecting sensitive information. Its user-friendly interface and robust functionalities make Mailcow a popular choice for individuals and organizations looking to host their email services independently.

# Why Switch Mailcow Emails to a New Server?

Let's discuss why you might want to migrate your Mailcow emails:

* **Server Upgrade:** Maybe you want better performance or features from a new server.
* **Cost Efficiency:** Changing to a more cost-effective hosting provider can save you money.
* **Improved Security:** A new server can provide better security for your emails.
* **Better support:** Sometimes, a change in provider may lead to access to better customer support.

Now that we understand the reasons, let’s look at how to transfer your Mailcow emails effectively.

# 1. Free Method to Migrate Mailcow to New Server using Docker

* Stop Mailcow Services: First, stop the Mailcow services by using the command:
          docker-compose down

* Backup Mailcow Data: Next, back up your Mailcow data and configuration files with these commands:
          rsync -av /opt/mailcow/backup /path/to/backup/location
          rsync -av /opt/mailcow/.env /path/to/backup/location

* Create Directory on New Server: On the new server, create the same directory for Mailcow by running:
          mkdir -p /opt/mailcow

* Migrate Backup Data: Use rsync or scp to transfer your backup data to the new server with this command:
          scp -r /path/to/backup user@newserver:/path/to/restore

* Install Mailcow on New Server: Install Mailcow on the new server by executing the following commands:
          git clone https://github.com/mailcow/mailcow-dockerized /opt/mailcow
          cd /opt/mailcow
         ./generate_config.sh

* Restore Settings: Finally, replace the .env and docker-compose.override.yml files from your backup into the Mailcow directories to restore your settings.

This process will help you successfully transfer your Mailcow setup to a new server while keeping all your configurations intact.

# Limitations of Free Approach

* It can be highly time-consuming to manually migrate Mailcow to a new server, which is one of the major drawbacks.
* Moreover, this do it yourself method requires a great deal of technical knowledge, which again acts as a barrier for many users.
* In case of any error while migrating, there is no easy way to reverse this process and thus risk data loss.
* Further, manual migration usually involves downtime, particularly in cases involving large transfers of Mailcow data or DNS settings update.

# 2. Trustworthy Solution to Transfer Mailcow Emails to a New Server

Try **[BitRecover IMAP Backup Software](https://www.bitrecover.com/blog/imap-mail-backup-tool/)** to transfer Mailcow emails, even if the target server is not a Mailcow server. The tool offers an intuitive user interface to ease the process of migration so that everyone can easily migrate the data from one place to another, without any technical expertise. Filtering options in this software are quite impressive because they enable the selection of Mailcow data for transfer. Let's find out how to automate the process of migrating Mailcow with this tool.

# Software Steps to Switch Mailcow Emails to a New Server

* First, install and open the suggested utility on your computer.
* Now, enter the credentials for the Mailcow user account you wish to migrate.
* You can also upload a CSV file containing user IDs and passwords to migrate multiple Mailcow accounts at one time.
* Now select the mailboxes you want to migrate and set the saving option to IMAP.
* Click on the filter options to customize your settings for selective migration of Mailcow data.
* Provide the IMAP credentials for the new server where you’re migrating your emails.
* Finally, click the convert button and wait for the migration process from Mailcow to the new server to finish.

This method streamlines the migration process, making it easier and more efficient.

# Why is Professional Solution Recommended?
* The application is designed with an intuitive interface that is easy to use even by both technical and non-technical users.
* Enables the migration of multiple IMAP accounts simultaneously, saving on time and effort during migration.
* Users can apply filters to select specific emails or folders for migration, thereby transferring only the necessary data.
* The tool supports multiple email services and thus allows users to transfer data from different IMAP servers without any glitch.
* The software ensures that all data is transferred securely, protecting sensitive information throughout the migration process.

# Final Words
In conclusion, the migration of Mailcow emails to a new server is by no means easy; however, everything could be done smoothly with the right approach.
Using either manual techniques or apps like BitRecover IMAP Backup Software, you can successfully move your emails and avoid losing any data.This way, by following the steps of this guide, you will be able to have a hassle-free migration process and ensure that all email configurations are kept intact.

