Imapsync: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=scalix-dovecot= imapsync --host1 localhost --user1 thomas --password1 zacker \ --sep2 . --prefix2 "" --authmech2 LOGIN --host2 thor --user2 thomas.will \ -…“)
 
 
(25 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 +
=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=
 
=scalix-dovecot=
  imapsync --host1 localhost --user1 thomas --password1 zacker \
+
  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"
  --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=
 
=Links=
 +
*https://github.com/imapsync/imapsync
 
*http://www.scalix.com/forums/viewtopic.php?f=9&t=14116
 
*http://www.scalix.com/forums/viewtopic.php?f=9&t=14116

Aktuelle Version vom 30. November 2021, 10:34 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