Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: how to use imapsync

  1. #1
    Join Date
    Jan 2010
    Posts
    18
    Rep Power
    5

    Default how to use imapsync

    hello
    need help regarding imapsync. i am having two zimbra servers.

    primary zimbra - 192.168.15.2
    backup zimbra - 192.168.15.3

    Domain - server1.tm.local (configured same domain on both machines i.e on 15.2 and 15.3)

    following this link for imapsync

    Main Page - Zimbra :: Wiki achine

    i had made imap_users and defined domain,users and their passwords.

    user-pawan@tm.local
    password-123456

    next i had to make zimbra_migration file, but here i am confuse, as having no knowledge of scripting.what i have to do in zimbra_migration file.in that wiki it is in step 3 for zimbra_migration
    plz guide me in zimbra_migration file.
    Regards,
    Pawan

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Details of IMAPSYNC is in the wiki at this page: Mail Migration - Zimbra :: Wiki - there are also several threads in the forums that cover migration and IMAPSYNC if you'd like to d a quick search.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Jan 2010
    Posts
    18
    Rep Power
    5

    Default

    is imapsync tool used for mail backup ?

  4. #4
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    Default

    It's a tool made to sync two imap mailboxes.

    If you consider that "sync" is "backup", then you can use it as backup...

  5. #5
    Join Date
    Jan 2010
    Posts
    18
    Rep Power
    5

    Default

    klug
    does /zmztozmig.conf file also does the same thing what imapsync does.

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by linuxguru View Post
    klug
    does /zmztozmig.conf file also does the same thing what imapsync does.
    No, it doesn't.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Join Date
    Jan 2010
    Posts
    18
    Rep Power
    5

    Default

    ok i think now i am getting on right track with the help of u experts.

    i gave imapsync n getting this error

    zimbra server - 192.168.15.2
    zimbra backupserver 192.168.15.3

    pawan@tm.local is made on both machines with same password

    root@server1:~# imapsync --host1 192.168.15.2 --user1 pawan@tm.local --password1 123456 --host2 192.168.15.3 --user2 pawan@tm.local --password2 123456

    this is the error which i am getting

    Host server1.tm.local says it has NO CAPABILITY for AUTHENTICATE CRAM-MD5
    Error login : [server1.tm.local] with user [pawan@tm.local] auth [CRAM-MD5]: 3 NO mechanism not supported: CRAM-MD5

    3 NO mechanism not supported: CRAM-MD5
    ...propagated at /usr/bin/imapsync line 704.



    plz help me.
    thx

  8. #8
    Join Date
    Jan 2008
    Location
    Berlin, Germany
    Posts
    203
    Rep Power
    7

    Default

    ... you probably missed the correct --authmech parameter.

    Code:
    imapsync --help
    will give you the necessary options:

    Code:
    --host1       <string> : "from" imap server. Mandatory.
    --port1       <int>    : port to connect on host1. Default is 143.
    --user1       <string> : user to login on host1. Mandatory.
    --authuser1   <string> : user to auth with on host1 (admin user).
                             Avoid using --authmech1 SOMETHING with --authuser1.
    --password1   <string> : password for the user1. Dangerous, use --passfile1
    --passfile1   <string> : password file for the user1. Contains the password.
    --host2       <string> : "destination" imap server. Mandatory.
    --port2       <int>    : port to connect on host2. Default is 143.
    --user2       <string> : user to login on host2. Mandatory.
    --authuser2   <string> : user to auth with on host2 (admin user).
    --password2   <string> : password for the user2. Dangerous, use --passfile2
    --passfile2   <string> : password file for the user2. Contains the password.
    --noauthmd5            : don't use MD5 authentification.
    --authmech1   <string> : auth mechanism to use with host1:
                             PLAIN, LOGIN, CRAM-MD5 etc. Use UPPERCASE.
    --authmech2   <string> : auth mechanism to use with host2. See --authmech1
    --ssl1                 : use an SSL connection on host1.
    --ssl2                 : use an SSL connection on host2.
    You need to add the proper --authmech parameter. PLAIN will work. If your're connecting to IMAPS on the Zimbra Side you need to specify --ssl2 and --port2 too.

    HTH

    Regards

    Andreas

  9. #9
    Join Date
    Jan 2010
    Posts
    18
    Rep Power
    5

    Default

    hi andreas
    same type of problem somebody was having and he got the solution. here is the link

    http://www.zimbra.com/forums/migrati...md5-error.html

    he used noauthmd5 and it worked plz guide me as i am also getting same error.

  10. #10
    Join Date
    Jan 2010
    Posts
    18
    Rep Power
    5

    Default

    andreas
    this is how i used imapsync command

    root@server1:~# imapsync --host1 server1.tm.local --user1 pawan@tm.local --password1 123456 --noauthmd5 --host2 192.168.15.3 --user2 pawan@tm.local --password2 123456 and got this error

    Host server1.tm.local says it has NO CAPABILITY for AUTHENTICATE LOGIN
    Error login : [server1.tm.local] with user [pawan@tm.local] auth [LOGIN]: 3 NO cleartext logins disabled

Similar Threads

  1. [Migration] Imapsync TOO slow.
    By ElMoRsA in forum Installation
    Replies: 6
    Last Post: 08-18-2009, 09:55 AM
  2. Replies: 5
    Last Post: 07-20-2009, 07:37 AM
  3. imapsync and nginx
    By Rambo in forum Migration
    Replies: 3
    Last Post: 06-04-2008, 07:54 AM
  4. problems with imapsync from cyus
    By g8se in forum Migration
    Replies: 3
    Last Post: 02-22-2007, 06:52 PM
  5. imapsync "out of memory"
    By EFSNetworks in forum Administrators
    Replies: 9
    Last Post: 10-13-2006, 01:51 PM

Posting Permissions

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