Mailing List Message #95921
From: Technical Support, Stalker Labs <>
Subject: Re: Converting mailboxes from plaintext to mdir.
Date: Tue, 02 Sep 2008 03:34:16 +0400
To: CommuniGate Pro Discussions <>
 ish Support on 02.09.2008 3:12 wrote:


I have a client I wish to convert their mailboxes from plaintext to mdir for a variety of reasons. To complete this I am using the following script written by Roma.

In that web page some long lines are broken; and the below broken line causes the error you're getting:
die "*** Can't login to CGPro IMAP: $responseLine.\n" unless($responseLine =~ /^x

I fill in all the variables as necessary and download the CLI, when I run the script I receive the following output:

* OK CommuniGate Pro IMAP Server 5.1.3 at ready

Please upgrade to 5.2.6 <>

*** Can't login to CGPro IMAP: x OK completed

It does not matter what I did I could not get it to work. I upped the logged on the imap listener and got this

09:05:50.924 5 IMAP connection request from []:64169, socket=25
09:05:50.924 5 IMAP new VStream created, n=8
09:05:50.924 5 IMAP stream thread started
09:05:50.924 4 IMAP-031092([]) got connection on []:143( from []:64169
09:05:50.924 5 IMAP-031092([]) out: * OK CommuniGate Pro IMAP Server 5.1.3 at ready\r\n
09:05:50.924 5 IMAP-031092([]) inp: x LOGIN postmaster ter$123
09:05:50.924 2 IMAP-031092([]) '' connected from []:64169
09:05:50.924 5 IMAP-031092([]) out: x OK completed\r\n
09:05:50.925 3 IMAP-031092([]) read failed. Error Code=connection closed by peer
09:05:50.925 2 IMAP-031092([]) '' disconnected ([]:64169)
09:05:50.925 4 IMAP-031092([]) closing connection
09:05:50.925 4 IMAP-031092([]) releasing stream

Cgate server version 5.1.3, running on FreeBSD 6.2.

Thanks for your help to any clues on how I might get this running.

Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001   fax +61 2 9550 4001


When answering to letters sent to you by the staff, make
sure the original message you have received is included into your reply.
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster