Mudanças entre as edições de "Imapsync"

De MochilaWiki
Ir para navegaçãoIr para pesquisar
Linha 6: Linha 6:
 
</source>
 
</source>
  
Debian 8
+
===Debian 8===
 
<source lang="bash">
 
<source lang="bash">
 
sudo apt-get install libdate-manip-perl libterm-readkey-perl libterm-readkey-perl libdigest-hmac-perl libdigest-hmac-perl \
 
sudo apt-get install libdate-manip-perl libterm-readkey-perl libterm-readkey-perl libdigest-hmac-perl libdigest-hmac-perl \
Linha 17: Linha 17:
 
</source>
 
</source>
  
Debian 9
+
=== Debian 9 ===
 
<source lang="bash">
 
<source lang="bash">
 
apt install -y libauthen-ntlm-perl libcgi-pm-perl libcrypt-openssl-rsa-perl  \
 
apt install -y libauthen-ntlm-perl libcgi-pm-perl libcrypt-openssl-rsa-perl  \
Linha 34: Linha 34:
 
</source>
 
</source>
  
 
+
=== exemplo de uso 1 ===
 
<source lang="bash">
 
<source lang="bash">
 
imapsync --host1 mail.seuservidor1.tld --user1 "seuemail1@seuservidor1.tld" --password1 "suasenha" \
 
imapsync --host1 mail.seuservidor1.tld --user1 "seuemail1@seuservidor1.tld" --password1 "suasenha" \
 
--host2 mail.seuservidor2.tld --user2 "seuemail1@seuservidor2.tld" --password2 "suasenha" \
 
--host2 mail.seuservidor2.tld --user2 "seuemail1@seuservidor2.tld" --password2 "suasenha" \
 
--authmech1 PLAIN --authmech2 PLAIN -ssl1 -sep1 "." --prefix1 ""
 
--authmech1 PLAIN --authmech2 PLAIN -ssl1 -sep1 "." --prefix1 ""
 +
</source>
 +
 +
=== exemplo de uso 2 ===
 +
<source lang="bash">
 +
imapsync --host1 mail.dominio1.com.br --user1 user@email.com.br --password1 SENHA1
 +
--host2 mail.dominio2.com.br --user2 user2@dominio.com.br --password2 SENHA2
 +
--exclude 'INBOX.Lixeira' --exclude 'INBOX.Junk' --exclude 'INBOX.Spam' --exclude
 +
'INBOX.Trash' --exclude 'INBOX.INBOX.Lixeira' --authmech1 LOGIN --authmech2 LOGIN
 
</source>
 
</source>
  
Linha 79: Linha 87:
 
* https://grepitout.com/install-imapsync-centos-ubuntu/
 
* https://grepitout.com/install-imapsync-centos-ubuntu/
 
* https://computingforgeeks.com/import-mail-accounts-using-imapsync/
 
* https://computingforgeeks.com/import-mail-accounts-using-imapsync/
 +
* https://imapsync.lamiral.info
 +
* https://imapsync.lamiral.info/INSTALL.d/INSTALL.Debian.txt
 +
* https://github.com/imapsync/imapsync
 +
* https://siteesite.com.br/kb/como-migrar-caixas-de-correio-facilmente-com-o-imapsync-no-ubuntu-16-04-lts-2/
 +
* http://gmvault.org/index.html
 +
* http://www.mailpiler.org/wiki/start
 +
* https://www.mailstore.com/
 +
* http://goodbye.host/file

Edição das 14h54min de 15 de dezembro de 2019

página do projeto

yum install imapsync

Debian 8

sudo apt-get install libdate-manip-perl libterm-readkey-perl libterm-readkey-perl libdigest-hmac-perl libdigest-hmac-perl \
libdate-manip-perl libmail-imapclient-perl makepasswd rcs perl-doc git libauthen-ntlm-perl libio-tee-perl libtest-pod-perl \
libunicode-string-perl
git clone git://github.com/imapsync/imapsync.git
cd imapsync
sudo cpan -i Data::Uniqid
sudo make install

Debian 9

apt install -y libauthen-ntlm-perl libcgi-pm-perl libcrypt-openssl-rsa-perl   \
libdata-uniqid-perl libencode-imaputf7-perl libfile-copy-recursive-perl \
libfile-tail-perl libio-socket-inet6-perl libio-socket-ssl-perl libio-tee-perl \
libhtml-parser-perl libjson-webtoken-perl libmail-imapclient-perl \
libparse-recdescent-perl libmodule-scandeps-perl libreadonly-perl  \
libregexp-common-perl libsys-meminfo-perl libtest-requires-perl cpanminus \
libterm-readkey-perl libtest-mockobject-perl libdist-checkconflicts-perl \
libtest-pod-perl libunicode-string-perl liburi-perl libwww-perl \
libtest-nowarnings-perl libtest-deep-perl libtest-mock-guard-perl \
libtest-warn-perl make libpar-packer-perl libtest-fatal-perl git-core
git clone https://github.com/imapsync/imapsync.git
cd imapsync
make install

exemplo de uso 1

imapsync --host1 mail.seuservidor1.tld --user1 "seuemail1@seuservidor1.tld" --password1 "suasenha" \
--host2 mail.seuservidor2.tld --user2 "seuemail1@seuservidor2.tld" --password2 "suasenha" \
--authmech1 PLAIN --authmech2 PLAIN -ssl1 -sep1 "." --prefix1 ""

exemplo de uso 2

imapsync --host1 mail.dominio1.com.br --user1 user@email.com.br --password1 SENHA1 
--host2 mail.dominio2.com.br --user2 user2@dominio.com.br --password2 SENHA2 
--exclude 'INBOX.Lixeira' --exclude 'INBOX.Junk' --exclude 'INBOX.Spam' --exclude 
'INBOX.Trash' --exclude 'INBOX.INBOX.Lixeira' --authmech1 LOGIN --authmech2 LOGIN
--passfile1 /home/jonas/secret1
--ssl2
--port2 993
--syncinternaldates
-sep2
--allowsizemismatch # é necessário na migração de contas google/gmail
--dry # para simulação / não vai transferir as mensagens
--exclude "Sent Items|Deleted Items|Drafts|Spam" # excluir itens/pastas
--buffersize 8192000 -
--maxsize 52428800 # limite tamanho de arquivo - no maxsize o valor é um bit, algumas dicas de valores são
--maxsize 131072 = 1M
--maxsize 262144 = 2M
--maxsize 1310720 = 10M
--maxsize 52428800 = 50M


dicas: