fbpx

Transferring Email

Transferring email can be done many different ways and can be quite difficult without the right tools. The tool imapsync, included in the EPEL repository, allows for the easy transfer of emails from one server to another. All that is required is the hostname/IP of the source and destination server, along with the credentials to both email accounts.

This program uses IMAP to transfer all of the emails, folders, and statuses of each email with very little effort. This can be run on any server and can be done on a third party server, separate from any of the email servers. This tutorial is for servers running CentOS and no other requirements are needed.

This page is for transferring an email account from one IMAP account to the other using imapsync in the EPEL repository. All that is needed is the credentials for both servers and hostnames. If you wish to transfer the email, follow the steps below to get started.

-Install the EPEL repository by following the steps below

-Go to http://dl.fedoraproject.org/pub/epel/

-Copy the download link for your particular release of Centos

-Perform the command and change the download link as necessary
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

-Run the command to install EPEL:
rpm –ivh epel-release*

-Retrieve the credentials and hostnames for both servers

-Edit/create the password file /root/password and insert the password of the source server’s email

-Edit/create the password file /root/password2 and insert the password of the destination server’s email

-Start forming the command by typing imapsync

-Insert the hostname or IP address after the –host1 of the source server (ex. imapsync –host1 hostname.or-ip.com)

-Insert the user after the –user1 option of the source server

-Insert the location of the sources server email password file after the –passfile1 option

-Insert the hostname or IP address after the –host2 of the destination server

-Insert the user after the –user2 option of the destination server

-Insert the location of the destination server email password file after the –passfile2 option

-Run the command

Example:

imapsync –host1 hostname.or-ip.com –user1 [email protected] –passfile1 /root/password –host2 hostname.or-ip.com –user2 [email protected] –passfile2 /root/password2

 

Hint:

You can use imapsync –help to view the options of the command or specify particular ports/encryption/authentication.

We don't mean to brag but...

These are some of our statistics:

0
Avg Response Time
0%
Server Uptime
0%
Issues Fixed
0
Trees Planted

What Our Customers
Have To Say

About three years ago we were looking for a new server provider, the problem that we were having was we are not “server guys” and we had over 400 clients to take care of. So anytime we tried to get support we had to submit a ticket, try to explain what was going on, and then pray that the response was in some form that we could understand.

After the on-boarding with Green Olive Tree, they told us that we had twice as much server than we needed and they were not set up right. Thank goodness we have found someone that really looked at what we want to do and gave us real actionable advice. It is safe to say that we have found our server company, and now we can focus on growing out business and not have to worry about the reliability of our support.

Thanks again Green Olive Tree, You Guys Rock!

John Owens

Green Olive Tree has been an invaluable resource to my company allowing me to focus more on my business instead of the management of servers. In the five years I have done business with GOT I have had zero downtime. Knowing that everything is being kept up-to-date and they are proactively patching system flaws gives me peace of mind that I didn’t have before finding Green Olive Tree. Jon has always made himself available when I’ve needed advice or help on upgrading servers or software and I can’t imagine ever going back to managing a server without GOT.

Chris Smith

Green Olive Tree has been very good to us. Jon has helped us scale from 200,000 unique’s visitors a day to over 3 million per day. From 1 server to now 14 on a well-structured load balanced failsafe system. Not only that he has managed to reduce our server resources 3 fold by installing the right kind of software so we’re getting more power out of each server for the same price. He always responds very quickly and stays up at all kinds of crazy hours to help us out, the man never sleeps! I guess that’s why he was a Navy Chief, he brings that discipline into his work and that’s what we love.

Anthony Lipari

Call us today at (800) 269-6465
We can help, contact us today.

Copyright © Green Olive Tree

/* LinkedIn Tag */