User Tools

Site Tools


internet:mail:moving_to_new_mailserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
internet:mail:moving_to_new_mailserver [2014/11/09 18:02]
gcooper
internet:mail:moving_to_new_mailserver [2021/01/14 21:12] (current)
gcooper
Line 1: Line 1:
-====== Moving to a New Mail Server ======+====== Migrating to a New Mail Server ====== 
 + 
 +===== From Exchange to Exchange ===== 
 + 
 +**Walkthrough**: https://www.petenetlive.com/KB/Article/0000788
  
 ===== From a POP Server to an IMAP Server ===== ===== From a POP Server to an IMAP Server =====
Line 5: Line 9:
 http://www.linux-france.org/prj/pop2imap/ http://www.linux-france.org/prj/pop2imap/
  
-===== From One IMAP Server to Another =====+===== From IMAP to IMAP ===== 
 + 
 +===imapcopy ====
  
-==== imapcopy Notes ====+<note warning>''imapcopy'' is a very small and simple tool.  It does **not** support SSL or TLS, limiting its usefulness on modern IMAP servers.</note>
  
 http://home.arcor.de/armin.diehl/imapcopy/imapcopy.html http://home.arcor.de/armin.diehl/imapcopy/imapcopy.html
Line 72: Line 78:
 </file> </file>
  
- +==== imapsync ====
-==== imapsync Notes ====+
  
 http://wiki.zimbra.com/wiki/Guide_to_imapsync http://wiki.zimbra.com/wiki/Guide_to_imapsync
- 
-http://wiki.contribs.org/Imapsync 
  
 http://www.howtoforge.com/how-to-migrate-mailboxes-between-imap-servers-with-imapsync http://www.howtoforge.com/how-to-migrate-mailboxes-between-imap-servers-with-imapsync
Line 83: Line 86:
 http://www.linux-france.org/prj/imapsync/ http://www.linux-france.org/prj/imapsync/
  
-Imapsync is another tool for migrating IMAP message stores from one server to another.+Imapsync is a great tool for migrating IMAP message stores from one server to another.
  
   * no duplicates   * no duplicates
Line 90: Line 93:
   * requires Perl and various modules   * requires Perl and various modules
   * preferably install on new mail server to minimize network transfers   * preferably install on new mail server to minimize network transfers
 +
 +=== Install on Ubuntu ===
 +
 +<note warning>''imapsync'' is a fantastic tool, but it is **not trivial to install on Ubuntu**.  While it is very convenient to have ''imapsync'' installed and run from your mail server, it might be better to install it on a separate workstation due to the large number of dependencies.</note>
 +
 +https://gist.github.com/nosmall/1306659d714e2c07810ba2cfc511fee5
 +
 +https://github.com/imapsync/imapsync/blob/master/INSTALL.d/INSTALL.Ubuntu.txt
  
 === Install on CentOS 6 === === Install on CentOS 6 ===
  
-[[computing:linux:epel|Configure EPEL Repository]]+See also **[[computing:linux:epel|Configure EPEL Repository]]**
  
 <file> <file>
Line 99: Line 110:
 </file> </file>
  
-imapsync is also available from the RPMForge repository if you already have that configured.+:!: Imapsync is also available from the RPMForge repository if you already have that repo configured.
  
 === Documentation === === Documentation ===
Line 108: Line 119:
 </file> </file>
  
-=== Use ===+=== General Use ===
  
 Migrate from 'host1' to 'host2': Migrate from 'host1' to 'host2':
Line 114: Line 125:
 <file> <file>
 imapsync \ imapsync \
 +--buffersize 8192000 \
 --noauthmd5 \ --noauthmd5 \
 --host1 old.mail.server \ --host1 old.mail.server \
Line 122: Line 134:
 --password2 newpassword --password2 newpassword
 </file> </file>
 +
 +=== IMAP to Zimbra Example ===
 +
 +:!: The ''delete2'' option deletes messages from the destination that are no longer on the source.
 +
 +:!: You must **''Enable clear text login''** in Zimbra and restart the server:
 +
 +**Zimbra Administration -> Configure -> Global Settings -> IMAP**
 +
 +<file>
 +imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --addheader --delete2 \
 +   --host1 old.server.tld --ssl1 --port1 993 \
 +   --user1 oldusername --password1 'oldpassword' \
 +   --host2 new.server.tld --ssl2 --port2 993 \
 +   --user2 newemailaddr --password2 'newpassword'
 +</file>
 +
 +=== Zimbra to Exchange ===
 +
 +  - For **mail messages**
 +    * Use imapsync
 +  - For **contacts**
 +    * Use Zimbra Web Client (ZWC)
 +    * Preferences -> Import/Export -> Outloook Contacts -> Choose Source Contacts folder(s) -> Export
 +  - For **calendars**
 +    * Use ZWC
 +    * Preferences -> Import/Export -> Calendar -> Select Calendar folder(s) -> Export
 +
 +== Import Contacts and Calendar to Exchange ==
 +
 +In Outlook 2013 with Exchange Account configured:
 +
 +  - File -> Open and Export -> Import/Export -> Import from another program or file -> Comma Separated Values 
 +  - Browse to ''csv'' file, Next -> choose duplicates option, Next -> Select Contacts folder, Next -> Map Custom Fields 
 +  - In the left pane scroll about halfway down to "EmailAddress", In the right pane scroll about halfway down to E-mail click + sign E-mail Address.  
 +  - In left pane drag EmailAddress and drop in right pane on E-mail Address, OK -> Finish
 +
 +
internet/mail/moving_to_new_mailserver.1415581332.txt.gz · Last modified: 2014/11/09 18:02 by gcooper