me está dando este error [1], me conecto perfectamente a los 2 servidores de correo por el 143
 
telnet localhost 143
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK IMAP4rev1 proxy server ready
^@^[^\^]
telnet> quit
Connection closed.
 
telnet xxx.xxx.xxx.xxx 143
Trying xxx.xxx.xxx.xxx...
Connected to 200.200.200.4.
Escape character is '^]'.
* OK citar.cfg.minag.cu IMAP4rev1 MDaemon 13.0.0 ready
 
[1]
imapcopy
IMAPCopy 1.04 - 2009/07/18 [compiled with FreePascal]
written 2001-2009 by Armin Diehl <ad@ardiehl.de>
Running on Linux

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
MA 02110-1301, USA.
---------------------------------------------------------------------------
Login on sourceserver as esp.inf2@citar.cfg.minag.cu FAILED !
Login on sourceserver as esp.inf2@citar.cfg.minag.cu failed

0 User processed, 0 Messages copied, 0 Error(s)
0 Folder(s) created, 0 Folder create errors, 0 Folder not copied
root@mail:/home#
 
_____________________________________
Roilan Martinez Acebal
Admin de Redes Empresa Cítricos Arimao

-----Original Message-----
From: "Pablo Vargas Hall" <admon@holguin.geocuba.cu>
To: <gutl-l@listas.jovenclub.cu>
Date: Thu, 14 Jun 2018 12:43:35 -0400
Subject: [Gutl-l] Re: Migrar correo

Usa imapcopy es más sencillo, lo que no pude hacer es que copiara de otras carpetas excepto de las bandeja de entrada y de los enviado así que debes decirles a tus usuarios que copien todos los correos para bandeja de entrada.
El imapsync necesita de un servidor en internet que pueda acceder a todas cuentas y además cobra por el servicio. El imapcopy viene en los repos por lo menos en el debian esta incluido.
 
##############
# Sourceserver
##############
SourceServer 192.168.2.7
SourcePort 143
 
###################
# Destinationserver
###################
DestServer localhost
DestPort 143
 
#############################
# List of users and passwords
#############################
#       SourceUser    SourcePassword   DestinationUser DestinationPassword
#Copy    "admon@ example.com"         " pass del servidor de origen "       "admon@example.com"           " pass del servidor de destino "
Copy    "ti.i@ example.com"         " pass del servidor de origen"       "ti.i@ example.com "           "pass del servidor de destino"
> Buenas tardes
> Estoy intentando compilar la aplicacion impasync para migrar el contenido de
> los buzones de correo de MDAEMON para ZIMBRA
> A la hora de compilarlo me da el  error [1], ejecuté el comando que aparece
> al final de [1]  y me da el error [2]. Alguna ayuda al respecto. Saludos y
> gracias de antemano
>
> [1]
> root@mail:/home/imapsync# make install
> sh INSTALL.d/prerequisites_imapsync
> $SHELL says  /bin/bash
> $0 gives  INSTALL.d/prerequisites_imapsync
> ps -ef gives root     24080 24061  0 15:08 pts/3    00:00:00 sh
> INSTALL.d/prerequisites_imapsync
> Distributor ID: Ubuntu
> Description:    Ubuntu 16.04.4 LTS
> Release:        16.04
> Codename:       xenial
> Linux mail 4.15.17-1-pve #1 SMP PVE 4.15.17-9 (Wed, 9 May 2018 13:31:43
> +0200) x86_64 x86_64 x86_64 GNU/Linux
> Ok: Found Perl 5.22.1
> Ok: Found make GNU Make 4.1
> Ok: Found Perl module App::cpanminus
> Ok: Found Perl module Authen::NTLM
> Failure: Not found Perl module CGI
> Ok: Found Perl module Compress::Zlib
> Failure: Not found Perl module Crypt::OpenSSL::RSA
> Ok: Found Perl module Data::Dumper
> Failure: Not found Perl module Data::Uniqid
> Ok: Found Perl module Digest::HMAC
> Ok: Found Perl module Digest::HMAC_MD5
> Ok: Found Perl module Digest::MD5
> Failure: Not found Perl module Dist::CheckConflicts
> Ok: Found Perl module

Dominio de Empresa Cítricos Arimao.
CITRISUR
el privilegio del sabor