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

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
  #21 (permalink)  
Old 11-28-2006, 04:07 AM
Junior Member
 
Posts: 5
Default

Did you use perdition to make imapsync work? Could you list port that you use?
Currently I am using
zimbraImapBindPort: 7143
zimbraImapProxyBindPort: 143
zimbraImapSSLBindOnStartup: TRUE
zimbraImapSSLBindPort: 7993
zimbraImapSSLProxyBindPort: 993

value for imap clear text login is true
But it still not work? Imapsync stop with message

Quote:
Error connecting to mail.domain.com:7993:
Reply With Quote
  #22 (permalink)  
Old 11-29-2006, 12:48 AM
Junior Member
 
Posts: 5
Default

ok then I found the solution. It's simple I just need to send email ask for every user password. And I could use imapsync to copy their mailbox to the new server (I don't know why its difficult just to copy user mailbox from my zimbra 3 server to new zimbra 4 server). Next time, I would think twice installing zimbra on the new server. Installing from scratch I think much better, although it will not have nice administrator web UI like zimbra.
Thanks anyway.
Reply With Quote
  #23 (permalink)  
Old 05-10-2007, 02:51 PM
Senior Member
 
Posts: 57
Default

Does this method still work under 4.5.5? I've been trying various combinations with no luck today. Works fine user -> user, but I'd like to use the admin functionality on zimbra, since I don't know the user's passwords (I'd have to set to a dummy pass, then reset to their crypt pass, which will take longer at migration time).

Like.
/usr/bin/imapsync --syncinternaldates --host1 fromhost --noauthmd5 --user1 fromuser --password1 fromuserpass --noauthmd5 --host2 tohost --user2 tohostuser --authuser2 tohostadmin --password2 tohostadminpassword

This fails, dovecot is the source, zimbra is the destination. Zimbra doesn't pay attention to the authuser2, and fails auth, since the password for host2 is the admin's pass, with tohostuser's pass it works fine.
Reply With Quote
  #24 (permalink)  
Old 05-11-2007, 08:59 AM
Zimbra Employee
 
Posts: 1,434
Default --ssl2

AUTHENTICATE PLAIN requires the --ssl2 switch, I believe.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #25 (permalink)  
Old 05-16-2007, 09:14 AM
Senior Member
 
Posts: 57
Default

Yea, I had tried all the various combinations I saw on the forums. I discovered IMAPsync wasn't working with SSL, moved to a different machine and compiled all the perl modules myself (instead of Fedora RPM), and it worked as expected through SSL via the Master Admin login.
Reply With Quote
  #26 (permalink)  
Old 05-24-2007, 10:55 PM
Senior Member
 
Posts: 59
Default Still Trying imapsync

I have moved to another server and compiled imapsync again.
I can log into the account into Zimbra with imapsync.
I can login into the account with thunderbird.
I can telnet to the imap port 143 and login
I use TLS as well with the Thunderbird.
No go with imapsync
I can login successfully into my current courier imap server.

I realized that the compiled script, although nice, I was not watching the packages that failed to compile properly. I'll try to get a test script done to test that the packages installed okay.

Here are the different options I have tried, which option have I not tried? or maybe something else is wrong with imapsync?

Thanks


imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass

imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password1 passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass

imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password1 passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass --ssl2

imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password1 passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass --ssl1

imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password1 passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass

imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password1 passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass --authuser2 PLAIN

imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password1 passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass --authuser2 PLAIN --ssl2

imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password1 passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass --port2 7143

imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password1 passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass --authuser2 PLAIN --ssl2 --port2 7143

imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password1 passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass --ssl2 --port2 7143

imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password1 passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass --port2 7143

imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password1 passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass --ssl2 --port2 7993

imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password1 passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass --ssl2 --port2 7993

imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password1 passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass --ssl2 --port2 7993

imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password1 passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass --ssl2

imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password1 passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass

imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password1 passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass --authuser2 PLAIN

imapsync --nosyncacls --subscribe --syncinternaldates --host1 192.168.0.50 --user1 name@domain.com --password1 passpass --host2 192.168.0.111 --user2 name@domains.com --password2 passpass --authuser2 PLAIN --ssl2
Reply With Quote
  #27 (permalink)  
Old 05-26-2007, 12:55 PM
Special Member
 
Posts: 121
Default

I ran into the same problem. Was there a version change in imapsync? I can hit the Zimbra server over the SSL port and i get this using:

openssl s_client -connect mail.xxx.com:7993

*OK mailbox.talkpoint.com Zimbra IMAP4rev1 service ready*

But when using imapsync:

imapsync --justconnect --host1 mailserver1 --host2 mailserver2 --ssl2 --port2 7993

The first server responds and the second server (zimbra) just hangs

Now could this be because of the self-signed certificate?
Reply With Quote
  #28 (permalink)  
Old 05-28-2007, 10:35 PM
Senior Member
 
Posts: 59
Default imapsync more guessing

Tried:
[root@mail ~]# perl -c imapsync
imapsync syntax OK

So it seems imapsync is installed correctly.
Looking back, it might have worked on previous versions of imapsync. It looks like the owner of this project removes all his past versions so I can't test an older version.

I haven't gotten to part to watch the log files for imap activity, but it looks like I can get Thunderbird to connect to Zimbra successfully via imap both SSL(993) and normal(143).

So, I think its imapsync thats the issue here. Not having past copies or knowledge to watch the imap log files, I will have to hang on for someone else to see what the issue might be.

Cheers
Reply With Quote
  #29 (permalink)  
Old 06-04-2007, 05:32 AM
Member
 
Posts: 10
Default

Me2 - I've tried picking up an old version of imapsync using the web archive at Internet Archive but have not yet managed to find anything. Is it known which is the latest version of imapsync to work (assuming it is an imapsync issue!)

rm
Reply With Quote
  #30 (permalink)  
Old 06-04-2007, 09:13 AM
Senior Member
 
Posts: 59
Default imapsync

I am getting great help, and this is where I am at. Give this a try and let me know how you make out. I am using current version of imapsync ver 1.219

imapsync --host1 192.168.0.1 --user1 name@domain.com --password1 pass \
--host2 192.168.0.2 --user2 name@domain.com --password2 pass \
--noauthmd5 --syncinternaldates
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

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.