How To Migrate Mailboxes Between IMAP Servers With imapsync

Written By
FT
Falko Timme
Jun 4, 2009

[ Thanks to Falko
Timme
for this link. ]

“1 Preliminary Note
I’m using two Debian or Ubuntu servers here (the procedure should
be the same for other distributions, only the installation of
imapsync will differ):

server1.example.com (source)
server2.example.com (target)

“I want to migrate the mailbox sales@example.com (username:
sales@example.com, password: secret) on server1.example.com to the
mailbox sales@example.com on server2.example.com (username and
password are the same as on server1.example.com).

“2 Before We Start
Before we start, let’s take a look at both mailboxes to see what’s
in them (you can do this with an email client such as Outlook,
Thunderbird, or a web-based email client such as SquirrelMail – I’m
using SquirrelMail here).”


Complete Story

FT

Falko Timme

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.