Results 1 to 4 of 4

Thread: imapsync - ask for advice when mailbox migration

  1. #1
    tiger2000 is offline Elite Member
    Join Date
    May 2008
    Location
    Taiwan
    Posts
    296
    Rep Power
    6

    Default imapsync - ask for advice when mailbox migration

    Hello All,

    Follow the build steps from Wiki site, we've built imapsync and it also
    works to migrate one user's mailbox from old server to new ZCS server.

    in order to run imapsync, we need to know users info on host1/host2,
    such account/passwd. I'm really curious how system admins do
    the mailbox migration job for his users since we have no idea what
    users' passwd are in host1?

    any advice on this?
    Thanks.

    Rgds,
    Kevin

  2. #2
    dNb
    dNb is offline Active Member
    Join Date
    Jun 2007
    Location
    Boston, MA
    Posts
    38
    Rep Power
    7

    Default

    Quote Originally Posted by tiger2000 View Post
    in order to run imapsync, we need to know users info on host1/host2, such account/passwd. I'm really curious how system admins do the mailbox migration job for his users since we have no idea what
    users' passwd are in host1?
    There are a number of ways to do it (I think this is even documented in the wiki), but here's the short answer: you need an imap server for host1 that can give you access to their mailbox without needing the user's real password. I think the easiest way to do this is to bring up another imap server (perhaps on another machine) that can see the same mailbox data and configure it to accept the passwords you want it to accept vs. the real ones. There are a number of ways to do that depending on which IMAP server you pick.

    The hack we're using right now during a large scale migration is running another copy of wu-imapd with fake password entries on the machine (for the duration of the copy). These fake entries override the usual authentication method the imap server would use since it sees them first. It is working great for us.

    Does that help at all?
    -- dNb

  3. #3
    Rich Graves is offline Outstanding Member
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    718
    Rep Power
    9

    Default

    It's not as well known as it should be, but uw imap does support sasl plain authz. Put a user into a group named "mailadm" (group name compiled into the code).
    Most other imap servers support some form of admin override. If you give some specifics about your legacy environment, we can give more specific tips.

    PAM fiddling and renaming mailboxes (re-associating with another user with a known password) might also work on some systems.

  4. #4
    dNb
    dNb is offline Active Member
    Join Date
    Jun 2007
    Location
    Boston, MA
    Posts
    38
    Rep Power
    7

    Default

    Quote Originally Posted by Rich Graves View Post
    It's not as well known as it should be, but uw imap does support sasl plain authz. Put a user into a group named "mailadm" (group name compiled into the code).
    Hmm, cool tip! Learn a new thing every day. I'm probably not going to change our current migration stuff, but this is certainly good to know. Thanks Rich!

    -- dNb

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 210
    Last Post: 01-17-2012, 01:19 AM
  2. GroupWise migration experience
    By nrc in forum Migration
    Replies: 3
    Last Post: 08-24-2010, 12:41 AM
  3. Replies: 10
    Last Post: 10-29-2009, 08:56 PM
  4. can't you help me
    By iwan siahaan in forum Administrators
    Replies: 6
    Last Post: 12-17-2007, 06:53 PM
  5. multi mailbox migration
    By scalper in forum Migration
    Replies: 5
    Last Post: 05-11-2007, 10:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •