Ya pincha logré que el imapsync pinchara pero, cree un script y cuando lo ejecuto sale [1]
 
root@mail:/home/imapsync-master# ./prueba.sh
Here is imapsync 1.882 on host mail, a linux system with 1.9/19.6 free GiB of RAM
with Perl 5.22.1 and Mail::IMAPClient 3.38
Transfer started at Fri Jun 15 10:36:21 2018
PID is 26133
Log file is LOG_imapsync/2018_06_15_10_36_21_986_esp.inf2@citar.cfg.minag.cu_esp.inf2.txt ( to change it, use --logfile path ; or use --nolog to turn off logging )
Load is 3.07 2.61 3.46 4/1068 on 1 cores
Current directory is /home/imapsync-master
Real user id is root (uid 0)
Effective user id is root (euid 0)
$RCSfile: imapsync,v $ $Revision: 1.882 $ $Date: 2018/05/05 21:10:43 $
Command line used:
/usr/bin/imapsync --host1 correo.citar.cfg.minag.cu --user1 esp.inf2@citar.cfg.minag.cu --password1 MASKED --host2 localhost --user2 esp.inf2 --password2 MASKED --nosslcheck --nossl2 --notls2
Temp directory is /tmp ( to change it use --tmpdir dirpath )
kill -QUIT 26133 # special behavior
kill -TERM 26133 # special behavior
kill -INT 26133 # special behavior
kill -USR1 26133 # special behavior
PID file is /tmp/imapsync.pid ( to change it use --pidfile filepath ; to avoid it use --pidfile "" )
Writing my PID 26133 in /tmp/imapsync.pid
Modules version list:
Authen::NTLM         1.09
Compress::Zlib       2.069
Crypt::OpenSSL::RSA  Not installed
Data::Uniqid         0.12
Digest::HMAC_MD5     1.01
Digest::HMAC_SHA1    1.03
Digest::MD5          2.54
File::Copy::Recursive 0.38
File::Spec           3.56
Getopt::Long         2.45
HTML::Entities       3.69
IO::Socket           1.38
IO::Socket::INET     1.35
IO::Socket::INET6    2.72
IO::Socket::SSL      2.024
IO::Tee              0.64
JSON                 2.97001
JSON::WebToken       0.05
LWP                  6.15
Mail::IMAPClient     3.38
Net::Ping            2.43
Net::SSLeay          1.72
Term::ReadKey        2.33
Test::MockObject     1.20161202
Time::HiRes          1.9726
URI::Escape          3.31
Unicode::String      2.10
( use --no-modulesversion to turn off printing this Perl modules list )
Info: will resync flags for already transferred messages. Use --noresyncflags to not resync flags.
Info: turned ON syncinternaldates, will set the internal dates (arrival dates) on host2 same as host1.
Host1: will try to use LOGIN authentication on host1
Host2: will try to use LOGIN authentication on host2
Host1: imap connection timeout is 120 seconds
Host2: imap connection timeout is 120 seconds
Host1: IMAP server [correo.citar.cfg.minag.cu] port [143] user [esp.inf2@citar.cfg.minag.cu]
Host2: IMAP server [localhost] port [143] user [esp.inf2]
Host1: connecting and login on host1 [correo.citar.cfg.minag.cu] port [143] with user [esp.inf2@citar.cfg.minag.cu]
Host1 IP address: xxx.xxx.xxx.xxx
Host1 banner: * OK citar.cfg.minag.cu IMAP4rev1 MDaemon 13.0.0 ready
Host1 capability before authentication: IMAP4rev1 NAMESPACE AUTH=CRAM-MD5 AUTH=LOGIN AUTH=PLAIN IDLE COMPRESS=DEFLATE ACL UNSELECT UIDPLUS QUOTA BINARY
Host1: correo.citar.cfg.minag.cu says it has CAPABILITY for AUTHENTICATE LOGIN
Host1 failure: Error login on [correo.citar.cfg.minag.cu] with user [esp.inf2@citar.cfg.minag.cu] auth [LOGIN]: 2 NO LOGIN failed
root@mail:/home/imapsync-master#
_____________________________________
Roilan Martinez Acebal
Admin de Redes Empresa Cítricos Arimao

-----Original Message-----
From: "Pablo Vargas Hall" <admon@holguin.geocuba.cu>
To: 'Lista cubana de soporte técnico en Tecnologias Libres' <gutl-l@listas.jovenclub.cu>
Date: Fri, 15 Jun 2018 10:14:29 -0400
Subject: [Gutl-l] Re: Migrar correo

 
 
 
Descripción: Descripción: image001
En mi nodo pude hacerlo tenía Mdaemon v9.0.0 y los pase para mi server en Iredmail v 0.9.7
  Saludos,
          Pablo Raúl Vargas Hall
Especialista Principal de REDES (Jefe Equipo)
              Geocuba Oriente Norte
Teléf.: 0124-42 3007
cid:image002.jpg@01D378E5.3FE2ABE0
GEOCUBA GEOCUBA GEOCUBA GEOCUBA GEOCUBA GEOCUBA GEOCUBA GEOCUBA GEOCUBA GEOCUBA GEOCUBA
 
 
De: Yoslán Raúl Jiménez Carvajal [mailto:yrjc2004@gmail.com]
Enviado el: jueves, 14 de junio de 2018 15:33
Para: Lista cubana de soporte técnico en Tecnologias Libres
Asunto: [Gutl-l] Re: Migrar correo
 
Mirando la lista de servidores que esta aca http://www.ardiehl.de/imapcopy/ no veo madaemon por ningun lado eso tambien tienes que tenerlo en cuenta.
 
https://imapsync.lamiral.info/S/imapservers.shtml si buscas por aca si se encuentra el soporte para mdaemon
 
El 14 de junio de 2018, 14:11, Arian Molina Aguilera <linuxcuba@teknik.io > escribió:
El 14/06/18 a las 12:43, Pablo Vargas Hall escribió:
> 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
>
>
>
> _______________________________________________
> Gutl-l mailing list -- gutl-l@listas.jovenclub.cu
> To unsubscribe send an email to gutl-l-leave@listas.jovenclub.cu
>
imapsync funciona perfectamente. solo tienes que instalarlo
correctamente, eso que dices que necesitas que el server sea accesible
de internet no es así, solamente si vas a usar la herramienta web de
imapsync publicado por el autor de la misma.

--
Arian Molina Aguilera
Administrador de Redes y Servicios Telemáticos
Linux Usuario Registrado #392892
Telfs: +53(7)696-7510 ext 236
jabber: linuxcuba@teknik.io
Brascuba Cigarrillos S.A. La Habana. Cuba.
“Nunca consideres el estudio como una obligación,
sino como una oportunidad para penetrar en el bello
y maravilloso mundo del saber. Albert Einstein”

_______________________________________________
Gutl-l mailing list -- gutl-l@listas.jovenclub.cu
To unsubscribe send an email to gutl-l-leave@listas.jovenclub.cu
 

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