Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Migration

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-10-2011, 01:52 AM
Junior Member
 
Posts: 8
Default how can I use imapsync with admin access and no users passwords

Can any one advise. I wish to imapsync from a dovecot/sendmail server to zimbra but want to use a single admin account on the zimbra server for importing rather than each users username/password.

here is my script for using each users username and password.

imapsync --authmech1 LOGIN --host1 imap.server.com --user1 support --passfile1 /tmp/secret1 --host2 zimbra.server.com --user2 support --passfile2 /tmp/secret2 --noauthmd5 --useheader 'Message-Id' --useheader 'Message-ID' --useheader 'Received' --nofoldersizes --skipsize --fast --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates

What do I change to replace the users names and passwords with the admin info? thanks
Reply With Quote
  #2 (permalink)  
Old 06-16-2011, 07:06 AM
PhD PhD is offline
Senior Member
 
Posts: 62
Default

hi there... i use this method:

Once you have the master admin set up on dovecot, then imapsyncing user emails without knowing their password is a breeze... been using this method for the 150 or so users we're migrating off an old imap server to zimbra

imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 imap.example.com.au --user1 "username*master" --password1 "dovecot master pwd" --host2 zimbra.example.com.au --user2 username --authuser2 admin --password2 "zimbra admin pass" --authmech1 plain --authmech2 plain --ssl2 --nofoldersizes --skipsize

"username*master" is, imap username of user you are migrating, and master, is the dovcot master userame (default master), and --user2 username, is the destination username for the import.

HTH
Reply With Quote
  #3 (permalink)  
Old 06-16-2011, 01:10 PM
Junior Member
 
Posts: 8
Default

Thank you . That helps a great deal. That was 1/2 the problem.
Now does anyone know if you can do this with Scalix as the source server? When we try we are only able to export/import the Scalix admin email and not the users????
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.