This shows you the differences between two versions of the page.
en:linux:imapsync [2009/08/08 20:43] matthieu |
en:linux:imapsync [2011/01/08 12:40] (current) matthieu |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{tag>en en:linux en:mail en:client}} | ||
====== Imapsync ====== | ====== Imapsync ====== | ||
Line 119: | Line 120: | ||
Each IMAP server does not support the same features, so imapsync need some tunning. | Each IMAP server does not support the same features, so imapsync need some tunning. | ||
- | For Google Apps / Gmail, the follow options are required : | + | For Google Apps / Gmail, the following options are required : |
* "---ssl2" : enable IMAPS on the destination side | * "---ssl2" : enable IMAPS on the destination side | ||
* "---useheader 'Message-Id' ---skipsize" : imapsync use the size and the headers of emails to identify them. As Google change the headers, we need to make imapsync only look the "Message-Id" header | * "---useheader 'Message-Id' ---skipsize" : imapsync use the size and the headers of emails to identify them. As Google change the headers, we need to make imapsync only look the "Message-Id" header | ||
Line 146: | Line 147: | ||
===== Migrate emails ===== | ===== Migrate emails ===== | ||
A migration is a synchronisation with deletion.\\ | A migration is a synchronisation with deletion.\\ | ||
- | With IMAP deletion is done in 2 steps : | + | With IMAP, deletion is done in 2 steps : |
* deletion : an email is tagged "deleted" | * deletion : an email is tagged "deleted" | ||
* expunge : emails tagged "deleted" are removed | * expunge : emails tagged "deleted" are removed | ||
Line 158: | Line 159: | ||
===== Feedback ===== | ===== Feedback ===== | ||
- | When I migration from courier to Google Apps, imapsync found some duplicated emails. Most of them where duplicated emails (email sent to 2 alias at the same time).\\ | + | When I migrated from courier to Google Apps, imapsync found some duplicated emails.\\ |
- | But few emails had the "Message-ID" header empty, in that case imapsync consider them duplicated. | + | Most of them where real (email sent to 2 alias at the same time).\\ |
+ | But few emails were considered duplicated because of an empty "Message-ID". | ||
- | The best way to migration all emails is to delete emails after synchronisation and manually check emails remaining on the source server. | + | The best way to migrate all emails is to delete emails after synchronization (with ---delete) and manually verify remaining emails. |
===== Links ===== | ===== Links ===== | ||
* http://www.linux-france.org/prj/imapsync/ | * http://www.linux-france.org/prj/imapsync/ | ||
- | * [[serveur_mail]] | ||
- | |||