migrar mails imap

Author: Osiris Alejandro Gomez <osiux@osiux.com.ar>
Date: 2010-05-06 19:32

Tuve que migrar todos mis mails de servidor, y nada mejor que usar imapsync, es muy simple sólo hay que indicar los datos del servidor origen y del servidor de destino, soporta SSL y se pueden exluir folders.

apt-get install imapsync

imapsync --port1 993 --host1 osiux.com.ar --user1 osiux@osiux.com.ar \
--ssl1 --authmech1 LOGIN --noauthmd5 --exclude Spam --exclude Trash \
--host2 osiux.com --user2 osiux@osiux.com \
--authmech2 PLAIN --nofoldersizes --subscribe

Turned ON syncinternaldates, will set the internal dates on host2 same as host1.
TimeZone :[ART]
Will try to use LOGIN authentication on host1
Will try to use PLAIN authentication on host2
From imap server [osiux.com.ar] port [993] user [osiux@osiux.com.ar]
To   imap server [osiux.com] port [143] user [osiux@osiux.com]
What's the password for osiux@osiux.com.ar@osiux.com.ar?
What's the password for osiux@osiux.com.ar@osiux.com?

+ Copying msg #52993:5013 to folder INBOX.pyar
flags from : [\Seen]["19-Mar-2010 10:00:56 -0300"]
Copied msg id [52993] to folder INBOX.pyar msg id [28818]
+ NO msg #52994 [ykBqIDO88BJ6Fi+SajfaqA:2657] in INBOX.pyar

++++ Statistics ++++
Time                   : 26995 sec
Messages transferred   : 164141
Messages skipped       : 0
Total bytes transferred: 2455052099
Total bytes skipped    : 0
Total bytes error      : 0
Detected 2 errors
Please, rate imapsync at http://freshmeat.net/projects/imapsync/
?Happy with this free, open source and gratis GPL software?
Feel free to thank the author by giving him a book:
http://www.amazon.com/gp/registry/wishlist/1C9UNDIH3P7R7/
(or its paypal account gilles.lamiral@laposte.net)

real    450m4.574s
user    33m14.725s
sys     0m52.567s