Imapsync

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

Installation (Ubuntu)

  • apt-get install makepasswd rcs perl-doc libio-tee-perl git libmail-imapclient-perl libdigest-md5-file-perl libterm-readkey-perl libfile-copy-recursive-perl build-essential make automake libunicode-string-perl libauthen-ntlm-perl libcrypt-ssleay-perl libdigest-hmac-perl libfile-copy-recursive-perl libio-compress-perl libio-socket-inet6-perl libio-socket-ssl-perl libio-tee-perl libmodule-scandeps-perl libnet-ssleay-perl libpar-packer-perl libreadonly-perl libterm-readkey-perl libtest-pod-perl libtest-simple-perl libunicode-string-perl liburi-perl
  • apt-get install libssl-dev
  • cpanm JSON::WebToken Test::MockObject Unicode::String Data::Uniqid
  • cpanm cpanm Crypt::OpenSSL::RSA Dist::CheckConflicts JSON::WebToken::Crypt::RSA
  • apt install apt-file cpanminus
  • git clone https://github.com/imapsync/imapsync.git
  • cd imapsync
  • make install

Test

scalix-dovecot

imapsync --host1 localhost --user1 thomas --password1 zacker --sep2 . --prefix2 "" --authmech2 LOGIN --host2 thor --user2 thomas.will --password2 zacker --regexflag 's/\\X-Has-Attach//g' --regexflag 's/\\X-*//g' --regextrans2 "s/\//_/g"

Links