Official imapsync migration tool ( release <!--#exec cmd="cat ./VERSION"--> )
Author: Gilles LAMIRAL
Description: imap migration tool
Keywords: imap, transfer, migration, backup
Date: 2016-01-24T02:13:42+0100

# Welcome to the imapsync web site!

## Copy all your emails elsewhere!

Site last updated on

## What is imapsync? (back to menu)

Imapsync is an IMAP transfers tool. The purpose of imapsync is to migrate IMAP accounts or to backup IMAP accounts. IMAP is one of the three current standard protocols to access mailboxes, the two other are POP3 and HTTP with webmails, webmails are often tied to an IMAP server.

Latest imapsync release was written on

Imapsync software is a command line tool that allows incremental and recursive IMAP transfers from one mailbox to another, both anywhere on the internet or in your local network. Imapsync runs on Windows, Linux, Mac OS X. "Incremental" means you can stop the transfer at any time and restart it later efficiently. "Recursive" means the complete folders hierarchy can be copied. "Command line" means it's not a graphical tool, on Windows you have to run imapsync from a batch file.

Imapsync can't migrate Contacts and Calendars. Most email systems don't set or get Contacts or Calendars via the IMAP protocol. No way via IMAP, no way via imapsync but it can be done with other tools or via export/import of csv or ics files. Also consider asking experts at Sumatra company.

imapsync is not suitable for maintaining a synchronization between two active imap accounts while the user is working on both sides. Use offlineimap (written by John Goerzen) or mbsync (written by Michael R. Elkins) for bidirectionnal (2 ways) synchronizations.

Alternatives to imapsync are listed in the Similar softwares section.

## Contact the author, Gilles LAMIRAL (back to menu)

Gilles LAMIRAL
gilles.lamiral@laposte.net
work cel: +33 6 20 79 76 06
work home: +33 951 84 42 42
work fax: +33 9 56 84 42 42
Postal address:
La Billais
BAULON 35580
FRANCE
Linkedin
Twitter
Google+
Facebook

Good feedback is always welcome, bad feedback is often welcome.

## Buy imapsync and support (back to menu)

Buy complete and latest imapsync for €50 EUR.
There is no trial version but I offer 30-day money back guarantee.
After buying and downloading imapsync, go to the installation documentation.

For €50 EUR you will get:

- Standalone imapsync.exe for win32, easy installation done by a zip extraction anywhere. See README_Windows.txt for details.
- Standalone imapsync_bin_Darwin for Mac OS X.
- Imapsync Perl source code for any operating system, Unix, Windows, OS X.
- Lifetime of imapsync updates without extra payment.
- 30-day money back guarantee! No question nor condition to get a refund, really, just request it and you'll sure get a refund!
- No limit to do anything with imapsync and its license.

For €100 EUR you get imapsync full professional support, provided by the imapsync designer and developer (Gilles LAMIRAL) who has been supporting imap migrations with imapsync for 15 years (started in 2001). See support description below.

Special offer, it's also €100 EUR if you buy imapsync and the support at once.

imapsync choice
Professionals buyers outside France are VAT exempted. Individuals or French buyers are VAT taxed.
In case you're a European professional, please enter your VAT number it's for accounting and customs declaration. VAT is often 2 letters followed by 11 digits, for example mine is FR74429303332.

At the end of the payment Paypal will proposed you to go back to the site, via a link to gilles.lamiral@laposte.net (it's my paypal account name), this link brings you to imapsync download.
You will also receive an email from gilles.lamiral@laposte.net a few minutes later (can fall in Spam folder sometimes).
In order to get an accurate invoice, please make sure the delivery postal address you enter in Paypal suits your accounting department's, since revised editing is not easy and prohibited by law.
The gpg signed invoice will be sent within a few days by email, My company is identified by VAT number FR74429303332 or french SIRET number 42930333200051, french APE/NAF number 7112B (Ingénierie Études techniques).

### Bitcoin (back to menu)

Bitcoin BTC change of €40 EUR is proposed but indeed it's free price!.
Your price in Bitcoins is mine!

### IBAN (back to menu)

If you can't pay with a credit card via Paypal then it is possible to pay via a bank transfer. It will surely add extra work editing the invoice, back and forth getting good coordinates, so I will mandatory charge both software+support for payment via bank transfer, that is 100 EUR. Drop me an email to test imapsync and to be sure it will do what you need it to do, before any payment.
The bank account references are:
NAME: MR LAMIRAL GILLES
IBAN: FR76 1360 6000 9900 0332 2748 564
Code BIC/Swift: AGRIFRPP836

### Support (back to menu)

For those of you who buy support, contact me (Gilles LAMIRAL) by email or phone:

- Email address: gilles.lamiral@laposte.net.
- Professional phone number: +33 951 84 42 42 located in France.
- Mobile phone number: +33 620 79 76 06 located in France (SFR operator).
- Jabber address: gilleslamiral@jabber.org
- Google+: https://plus.google.com/+GillesLamiral/
- Twitter: https://twitter.com/imapsync
- Facebook: https://www.facebook.com/imapsync

The support is done in English, mostly by email or possibly phone/skype/google+/jabber. Office hours start at 10:00, end at 16:00 UTC, extra time is possible in case of emergency. The support aims at helping you to get your imap migration job done, quickly if possible. Support includes things like no time to read the documentation, how to deal with special imap server softwares (Gmail, Exchange), choosing and explaining options, explaining error messages, solving authentication issues, dealing with speed, quotas, special context, running in parallel, etc.

## Facts and figures (back to menu)

- 4000 to 7000 users per month (44100 users a year).
- 6 to 32 millions mailboxes transfers per month.
- 187 millions transfers for 2015, that is six whole mailboxes synced per second in average.
- Operating systems run by imapsync users (in 2015):
  - Linux: 74%
  - Win32: 15%
  - Darwin: 5%
  - FreeBSD: 5%
  - Solaris: 0.18%
  - OpenBSD: 0.07%
  - Other: 0.37%
- Highest use rate: about 56 millions of IMAP mailbox transfers by just one host.
- Biggest known account migrated: 2.4 millions folders (figure independently reported).

Where all those numbers come from? To know whether a newer imapsync exists or not, imapsync does a http GET to the file VERSION. Via the User-agent parameter it also sends:

- imapsync release
- Perl version
- Mail::IMAPClient version
- Operating System

You can remove this behavior by adding option --noreleasecheck on the command line (or by setting $releasecheck = 0 in the source code). Check CVE-2013-4279.

## How to transfer a single mailbox on Windows (back to menu)

After Imapsync instalattion, a basic (and really working) example in a DOS window is the following:

    .\imapsync.exe --host1 test1.lamiral.info  --user1 test1 --password1  "secret1" ^
                   --host2 test2.lamiral.info  --user2 test2 --password2  "secret2"

But it's better to edit a batch file and run it by a double-click. Take this batch file example imapsync_example.bat and adapt with your own parameters.

## How to transfer a single mailbox on Linux/Unix (back to menu)

After Imapsync instalattion, a basic (and really working) example in a shell terminal is the following:

    ./imapsync --host1 test1.lamiral.info  --user1 test1 --password1  "secret1" \
               --host2 test2.lamiral.info  --user2 test2 --password2  "secret2"

But it's better to edit a shell script and run it in a terminal. Take this Bourne shell script example imapsync_example.sh and adapt with your own parameters.

## How to transfer many mailboxes (back to menu)

In order to migrate many mailboxes, you should use a loop over a csv file containing only the data credentials.
On Windows, see sync_loop_windows.bat batch example.
On Unix, see sync_loop_unix.sh example.
An example of this csv file is file.txt, it can be used with the two previous command scripts.

## Installation (back to menu)

Depending on the system where you'll run imapsync:

- Windows users, read directly README_Windows.txt.
- OS X users, read INSTALL.Darwin.txt.
- Centos users, read INSTALL.Centos.txt.
- CPanel users, read INSTALL.CPanel.txt.
- Debian users, read INSTALL.Debian.txt.
- Ubuntu users, read INSTALL.Ubuntu.txt.
- FreeBSD users, read INSTALL.FreeBSD.txt.
- Other users, read the second part of INSTALL.
- Installation files are located in the INSTALL.d/* directory.

After the imapsync installation you should go to the documentation section just below

## Documentation (back to menu)

Windows users, the README_Windows.txt contains essential knowledge to do your first syncs.

Unix users, the TUTORIAL_Unix will teach you smoothly how to do your first syncs. Windows users can read it too.

The README file contains general and specific pieces of information to understand imapsync and succeed in your migration or backup.

The FAQ and FAQ.d/* files present Frequently Asked Questions (and not so frequently asked ones) and their answers. Here is the menu:

Tips about imap server softwares:

- Gmail accounts.
- Exchange 20xx and Office365.
- Domino.
- Dovecot.
- SmarterMail.
- Other various imap server softwares.
- Oracle-UCS.

Solving problems:

- Connection issues.
- Changing folders names.
- Duplicated messages issues.
- Flags issues.
- Dates issues.

Various tips:

- Massive/bulk migrations.
- ISP.
- Selecting messages.
- Selecting folders.
- Security.
- XOAUTH2 (Gmail).

The ChangeLog to read what changed in details since 2001.

The TODO file lists what may be coded or done in the future.

All the people I thank are in the CREDITS file.

What you're allowed to do with imapsync is "No limits to do anything with this work and this license." like repeated in the LICENSE file (the detour is worth it).

## Vote for better imapsync and services (back to menu)

## Discuss or search on the English imapsync mailing-list (back to menu)

The English public mailing-list may be the best way to get free and gratis support (not as quick as the professional support).
You can write to the mailing-list even if you're not subscribed to it.
In that case you will receive a confirmation message each time you post (to avoid spam).

To write on the mailing-list, the address is: imapsync@linux-france.org (English language list, hosted in France)

To subscribe, send a message to: imapsync-subscribe@listes.linux-france.org

To unsubscribe, send a message to: imapsync-unsubscribe@listes.linux-france.org

To contact the person in charge for the list: imapsync-request@listes.linux-france.org

The list archives are available at http://linux-france.org/prj/imapsync_list/
So consider that the list is public, anyone can see your post.
Use a pseudonym or do not post to this list if you want to stay private.

Search in the imapsync list archives: (change the keywords with your own request and press Enter)

Thank you for your participation to the English imapsync mailing-list!

This document last modified on ($Id: index.shtml,v 1.286 2016/03/16 13:34:20 gilles Exp gilles $)
Top of the page