El 14/06/18 a las 12:23, Roilan Martinez Acebal escribió:
Colega ya revise esos sitios, pero el tema está en que para instalar
el
imapsync hay que instalar unos modulos, cuando los mando a instalar se
mete siglos y al final da error, al parecer va a buscalos a internet, yo
estoy detrás de proxy.
Se le podrá definir un proxy a cpanm
Saludos
_____________________________________
Roilan Martinez Acebal
Admin de Redes Empresa Cítricos Arimao
-----Original Message-----
From: Yoslán Raúl Jiménez Carvajal <yrjc2004(a)gmail.com>
To: Lista cubana de soporte técnico en Tecnologias Libres
<gutl-l(a)listas.jovenclub.cu>
Date: Thu, 14 Jun 2018 08:27:30 -0500
Subject: [Gutl-l] Re: Migrar correo
Realice una busqueda el resultado 3 urls revisalas comparalas.
https://www.jverdeyen.be/ubuntu/imapsync-on-ubuntu-16.04/
https://tecadmin.net/use-imapsync-on-ubuntu/
https://www.boscolopez.com/como-instalar-imapsync-en-ubuntu-16-04/
2018-06-13 16:19 GMT-05:00 Roilan Martinez Acebal
<esp.inf2(a)citar.cfg.minag.cu <mailto:esp.inf2@citar.cfg.minag.cu>>:
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 Encode::Byte
Ok: Found Perl module File::Copy::Recursive
Ok: Found Perl module IO::Socket::INET
Ok: Found Perl module IO::Socket::INET6
Ok: Found Perl module IO::Socket::SSL
Ok: Found Perl module IO::Tee
Failure: Not found Perl module JSON
Failure: Not found Perl module JSON::WebToken
Failure: Not found Perl module JSON::WebToken::Crypt::RSA
Ok: Found Perl module HTML::Entities
Ok: Found Perl module LWP::UserAgent
Ok: Found Perl module Mail::IMAPClient
Ok: Found Perl module Module::Implementation
Ok: Found Perl module Module::Runtime
Ok: Found Perl module Module::ScanDeps
Ok: Found Perl module Net::SSLeay
Ok: Found Perl module Package::Stash
Ok: Found Perl module Package::Stash::XS
Ok: Found Perl module PAR::Packer
Ok: Found Perl module Parse::RecDescent
Ok: Found Perl module Pod::Usage
Ok: Found Perl module Readonly
Failure: Not found Perl module Regexp::Common
Failure: Not found Perl module Sys::MemInfo
Ok: Found Perl module Term::ReadKey
Failure: Not found Perl module Test::Fatal
Failure: Not found Perl module Test::Mock::Guard
Failure: Not found Perl module Test::MockObject
Ok: Found Perl module Test::More
Ok: Found Perl module Test::Pod
Failure: Not found Perl module Test::Requires
Failure: Not found Perl module Test::NoWarnings
Failure: Not found Perl module Test::Deep
Failure: Not found Perl module Test::Warn
Ok: Found Perl module Try::Tiny
Ok: Found Perl module Unicode::String
Ok: Found Perl module URI::Escape
What you have to do before using imapsync:
Install Perl module CGI
Install Perl module Crypt::OpenSSL::RSA
Install Perl module Data::Uniqid
Install Perl module Dist::CheckConflicts
Install Perl module JSON
Install Perl module JSON::WebToken
Install Perl module JSON::WebToken::Crypt::RSA
Install Perl module Regexp::Common
Install Perl module Sys::MemInfo
Install Perl module Test::Fatal
Install Perl module Test::Mock::Guard
Install Perl module Test::MockObject
Install Perl module Test::Requires
Install Perl module Test::NoWarnings
Install Perl module Test::Deep
Install Perl module Test::Warn
Here is a cpanm command to install missing Perl modules:
cpanm "CGI Crypt::OpenSSL::RSA Data::Uniqid Dist::CheckConflicts
JSON JSON::WebToken JSON::WebToken::Crypt::RSA Regexp::Common
Sys::MemInfo Test::Fatal Test::Mock::Guard Test::MockObject
Test::Requires Test::NoWarnings Test::Deep Test::Warn"
Makefile:99: recipe for target 'testp' failed
make: *** [testp] Error 1
[2]
root@mail:/home/imapsync# cpanm "CGI Crypt::OpenSSL::RSA
Data::Uniqid Dist::CheckConflicts JSON JSON::WebToken
JSON::WebToken::Crypt::RSA Regexp::Common Sys::MemInfo
Test::Fatal Test::Mock::Guard Test::MockObject Test::Requires
Test::NoWarnings Test::Deep Test::Warn"
! Finding CGI Crypt::OpenSSL::RSA Data::Uniqid
Dist::CheckConflicts JSON JSON::WebToken
JSON::WebToken::Crypt::RSA Regexp::Common Sys::MemInfo
Test::Fatal Test::Mock::Guard Test::MockObject Test::Requires
Test::NoWarnings Test::Deep Test::Warn on cpanmetadb failed.
______________________________ _______
Roilan Martinez Acebal
Admin de Redes Empresa Cítricos Arimao
Dominio de Empresa Cítricos Arimao.
CITRISUR
el privilegio del sabor
______________________________ _________________
Gutl-l mailing list -- gutl-l(a)listas.jovenclub.cu
<mailto:gutl-l@listas.jovenclub.cu>
To unsubscribe send an email to gutl-l-leave(a)listas.jovenclub.cu
<mailto:gutl-l-leave@listas.jovenclub.cu>
Dominio de Empresa Cítricos Arimao.
CITRISUR
el privilegio del sabor
_______________________________________________
Gutl-l mailing list -- gutl-l(a)listas.jovenclub.cu
To unsubscribe send an email to gutl-l-leave(a)listas.jovenclub.cu
si se puede definir el proxy a cpanm, lo que tienes que hacer es
exportar dicha variable en el terminal, o otro es definir el proxy en la
configuración del cpanm
setting CPAN for proxy
To enable CPAN behind proxy, invoke CPAN Shell as
perl -MCPAN -e shell
will give you prompt as
cpan[2]>
Now we have to set the proxy type following command
cpan[2]> o conf init /proxy/
If you're accessing the net via proxies, you can specify them in the
CPAN configuration or via environment variables. The variable in
the $CPAN::Config takes precedence.
Your ftp_proxy? [a.b.c.d] a.b.c.d:port
Your http_proxy? [a.b.c.d] a.b.c.d:port
Your no_proxy? [] a.b.c.d:port
If your proxy is an authenticating proxy, you can store your username
permanently. If you do not want that, just press RETURN. You will then
be asked for your username in every future session.
Your proxy user id? []
Please remember to call 'o conf commit' to make the config permanent!
cpan[3]> o conf commit
commit: wrote 'xxx/xxx/xxx/xxxxx/xxxx/Config.pm'
--
Arian Molina Aguilera
Administrador de Redes y Servicios Telemáticos
Linux Usuario Registrado #392892
Telfs: +53(7)696-7510 ext 236
jabber: linuxcuba(a)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”