Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Mail Server Migration
PostPosted: Fri Jul 15, 2011 11:22 am 
Offline
Senior Newbie

Joined: Thu Jun 30, 2011 10:15 am
Posts: 5
I'm moving my domains and mails from Slicehost to Linode.
Current mail setup is postfix+courier+sasl

Would appreciate your inputs on following:
1. How do I move my mailboxes without bothering the users? I'm told I could use IMAPSync. However, since it's not free anymore, I was hoping for any other suggestion
2. Linode's library seems to promote Dovecot, does NOT have any updated documentation on Courier. Is there any reason for it, or is just because the person writing doc is more comfortable with Dovecot? (I don't mind using either)


Thanks in advance.


Top
   
 Post subject:
PostPosted: Fri Jul 15, 2011 2:55 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
I wrote a script that can help out with this, somewhat. It, in essence, does a copy from an IMAP folder to a maildir folder. I use it to keep my Gmail backed up locally, in case of emergency, but it should be able to download multiple mailboxes/users with some creative looping.

That said, since you've already got filesystem-level access to the mail (and are, presumably, using maildir), rsync would do an even better job of moving the mail.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Sun Jul 17, 2011 2:19 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
I was looking at OfflineIMAP for another purpose, but it seems like it may be usable for this.
Quote:
With OfflineIMAP 4.0, a powerful new ability has been introduced -- the program can now synchronize two IMAP servers with each other, with no need to have a Maildir layer in-between.

I have also seen isync mentioned, but really don't know anything about it...


Top
   
 Post subject:
PostPosted: Sun Jul 31, 2011 9:06 am 
Offline
Senior Newbie

Joined: Thu Jun 30, 2011 10:15 am
Posts: 5
Thanks for your help so far guys. I've decided to go with rsync.
(Since the Linux on my old box isn't supported anymore, I'd to build rsync but I'm hoping it to be worth it)

So, from what I understand:
* I can configure the mail server (Postfix etc.) and make things as close as the old box
* Sync users (and their home directories) on both boxes
* Sync mail dirs.


On old box, I use Courier and am planning to use Dovecot on the new. Considering that rsync with "-a" attribute preserves the file attributes, including timestamp, I'm hoping that everything else will go smoothly.
Are my assumptions correct?


Top
   
 Post subject:
PostPosted: Sun Jul 31, 2011 9:20 am 
Offline
Senior Newbie

Joined: Thu Jun 30, 2011 10:15 am
Posts: 5
Okay, I found some more information on Dovecot site: http://wiki.dovecot.org/Migration/Courier

Apparently, IMAP UIDs and POP3 UIDLs need to be preserved (and converted). Will take this guide into consideration as well and appreciate if anyone has anymore inputs/pointers.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group