ImapCopy or fast way to migrate mail between servers

The following guide describes the installation very simple program which is ImapCopy through which we will migrate mail from one server to another.

Let's get started is extremely simple.


Installation ImapCopy
ImapCopy is available in the repository of Debian / ubuntu. Its installation is simple and comes down to one issue the command:

Configuration

Click the configuration can be found in the directory:

Edit the file named:ImapCopy.cfg

Edit the file as follows:

We go to the bottom of the file and configure the box to transfer.

In order to test if everything is well configured to run the program in the directory where imapcopy signed our configuration file.

the script will run and check the availability and correctness of the data to log.
that we begin to migrate mailbox command:

The problem with SSL - stunel
The problem occurs when we want to copy the e-mails with SSL encryption / TLS. The solution to this problem is to tunneling traffic from ports

We install and run two commands in separate console. So to work all the time during our copy emails.

Install the required packages:

After running the above commands in separate terminals you need to update our configuration file imapcopy.cfg.

It sets out the source and destination servers were on our localhost. Thanks to which all traffic is redirected from stunnel address 127.0.0.1:1143 address imap.source.net:993 after already establishing an encrypted connection.

How useful this post was?

Click on the star, to evaluate it!

Average grade / 5. number of votes:

So far, no votes! Be the first to rate this post.