Imapsync: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 10: Zeile 10:
 
**cpanm cpanm Crypt::OpenSSL::RSA Dist::CheckConflicts JSON::WebToken::Crypt::RSA Sys::MemInfo Regexp::Common Test::Deep File::Tail Encode::IMAPUTF7
 
**cpanm cpanm Crypt::OpenSSL::RSA Dist::CheckConflicts JSON::WebToken::Crypt::RSA Sys::MemInfo Regexp::Common Test::Deep File::Tail Encode::IMAPUTF7
 
*make install
 
*make install
 +
 +
=auf Pakete kontrollieren=
 +
*cd imapsync
 +
*sh INSTALL.d/prerequisites_imapsync > fehlende-pakete.txt
 +
*Datei kontrollieren und eventuell fehlende Pakete nachinstallieren
 +
  
 
=Test=
 
=Test=

Version vom 30. November 2021, 10:32 Uhr

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 cpanminus
  • apt install apt-file
  • git clone https://github.com/imapsync/imapsync.git
  • cpanm Mail::IMAPClient
  • cd imapsync
  • sh INSTALL.d/prerequisites_imapsync > fehlende-pakete.txt
  • fehlende Pakete entsprechend der Datei fehlende-pakete.txt installieren (entweder über cpanm oder apt - in der Datei werden die Perl Module und auch die debian Pakete angegeben):
    • cpanm JSON::WebToken Test::MockObject Unicode::String Data::Uniqid
    • cpanm cpanm Crypt::OpenSSL::RSA Dist::CheckConflicts JSON::WebToken::Crypt::RSA Sys::MemInfo Regexp::Common Test::Deep File::Tail Encode::IMAPUTF7
  • make install

auf Pakete kontrollieren

  • cd imapsync
  • sh INSTALL.d/prerequisites_imapsync > fehlende-pakete.txt
  • Datei kontrollieren und eventuell fehlende Pakete nachinstallieren


Test

  • imapsync -testslive

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