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

Hello

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.

http://cgpro.servicemail24.com/index.php?main=view.php&subid=65

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
OK/);

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

/ConvertMailboxes.pl
* OK CommuniGate Pro IMAP Server 5.1.3 at scc.nsw.edu.au ready

Please upgrade to 5.2.6 <http://www.communigate.com/CommuniGatePro/History.html>

*** 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 [127.0.0.1]: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([127.0.0.1]) got connection on [127.0.0.1]:143(scc.nsw.edu.au) from [127.0.0.1]:64169
09:05:50.924 5 IMAP-031092([127.0.0.1]) out: * OK CommuniGate Pro IMAP Server 5.1.3 at scc.nsw.edu.au ready\r\n
09:05:50.924 5 IMAP-031092([127.0.0.1]) inp: x LOGIN postmaster ter$123
09:05:50.924 2 IMAP-031092([127.0.0.1]) 'postmaster@scc.nsw.edu.au' connected from [127.0.0.1]:64169
09:05:50.924 5 IMAP-031092([127.0.0.1]) out: x OK completed\r\n
09:05:50.925 3 IMAP-031092([127.0.0.1]) read failed. Error Code=connection closed by peer
09:05:50.925 2 IMAP-031092([127.0.0.1]) 'postmaster@scc.nsw.edu.au' disconnected ([127.0.0.1]:64169)
09:05:50.925 4 IMAP-031092([127.0.0.1]) closing connection
09:05:50.925 4 IMAP-031092([127.0.0.1]) 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.

Support.
-------------------------->
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001   fax +61 2 9550 4001




--
Sincerely,
Roman

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