Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Imapsync migrationg to Zimbra fails

  1. #11
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    If we're passing passwords with quotes in them, let's take another look at the command line invocation to make sure we didn't run afoul of the shell.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  2. #12
    lchrist is offline Intermediate Member
    Join Date
    Dec 2006
    Posts
    24
    Rep Power
    8

    Default We're almost there :-)

    Hi,

    We're still getting closer but our combined Perl experience seems to be lacking a bit :-)

    This is the result:
    From connection
    Read: * OK imapfront ready. + stunnel

    Connect: Received this from readline: 0/OUTPUT/* OK imapfront ready. + stunnel

    Banner : * OK imapfront ready. + stunnel
    Sending: 1 Login "XXXXXXXX" "XXXXXXXX"\r\n

    Sent 30 bytes
    Read: 1 BAD LOGIN command requires exactly two arguments

    Error login : [www.webserver.com] with user [new_user] : 1 BAD LOGIN command requires exactly two arguments


    Any new pointers :-)

    Lasse,

    PS: Or is there another way of getting mail out of an existing mail-server and in to a zimbra installation ?

  3. #13
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default Really?

    Wow, your IMAP server is more broken than I'd thought if it won't even take a quoted-string for a password. (The other option is that it can't handle \r\n, which is even more broken.) So let's try this:
    Code:
    	my $string = 	"Login " . ( $has_quotes ? $id : qq("$id") ) . " " . 
    			$self->Password . '\r\n';
    If that's not the problem and \r\n is, imapsync won't work and we'll need to find another migration mechanism.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  4. #14
    lchrist is offline Intermediate Member
    Join Date
    Dec 2006
    Posts
    24
    Rep Power
    8

    Default Wow ! Something works .... but ?

    Now something works. It barfed on the syntax as before so i tried to be creative (with my extremely limited Perl knowledge) and changed it to

    my $string = "Login " . ( $has_quotes ? $id : qq("$id") ) . " " .
    $self->Password ;


    And now i get something decent !

    It now looks like my only remaining issues (until something else turns up) is the fact that when i run the imapsync it tells me that:



    ------------ LOTS OF DIFFERENT INFO -----------

    Sending: 3 LIST "" *

    Sent 13 bytes
    Read: * LIST (\HasNoChildren) "/" "Contacts"
    * LIST (\HasNoChildren) "/" "Drafts"
    * LIST (\HasNoChildren) "/" "Emailed Contacts"
    * LIST (\HasNoChildren) "/" "INBOX"
    * LIST (\HasNoChildren \Noinferiors) "/" "Junk"
    * LIST (\HasNoChildren) "/" "Sent"
    * LIST (\HasNoChildren) "/" "Trash"
    3 OK LIST completed
    .............................. LOTS OF ADDITIONAL STUFF --------------

    Sent 15 bytes
    Read: * CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN LISTEXT LIST-SUBSCRIBED
    10 OK Capability completed.

    No NAMESPACE capability in imap server www.webserver.com
    Give the separator caracter with the --sep1 option.

    I also have to give the prefix namespace with the --prefix1 option.


    But i have no idea as to what seperator and which prefix imapsync is talking about and where do i find out what they are is ?

    Thanks,

    Lasse,
    Last edited by lchrist; 12-30-2006 at 12:02 PM. Reason: Did not hide real username and hostname

  5. #15
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default connect to your old IMAP server...

    (By the way, what's the software running on your old IMAP server? I want to tell people to avoid it.)

    Anyways, telnet to your existing IMAP server, log in, and issue the following two commands:
    Code:
    A004 LIST "" ""
    
    A005 LIST "" "*"
    The separator should be divinable from the former; the prefix from the latter. Let us know what the responses are.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  6. #16
    lchrist is offline Intermediate Member
    Join Date
    Dec 2006
    Posts
    24
    Rep Power
    8

    Default mailfront-0.81-1

    Hi,

    Thanks ! By using the commands you showed me everything worked (well at least for the dry run).

    The existing server that i'm running is an old SME E-smith (www.contribs.org) Server version 6.0. The imapfront part is mailfront-0.81-1

    I would also tell everyone to stay far ... far away from it. Apart from the fact that it has been rock solid and running without any issues at all for the past two years :-)

    Amazing, that solved my remaining major issue.

    Thanks soo much for alle the help, and a happy new years :-)

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  2. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  3. zimbra-core missing
    By kinaole in forum Developers
    Replies: 1
    Last Post: 10-02-2006, 11:59 AM
  4. port 7071 not listening OS X install
    By leeimber in forum Installation
    Replies: 7
    Last Post: 03-21-2006, 10:47 AM
  5. Zimbra Processor Output
    By UltraFlux in forum Installation
    Replies: 3
    Last Post: 02-01-2006, 08:23 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
  •