Serve a volte trovare la modalità giusta per migrare gli account di posta da un server ad un altro.
Se questi server supportano IMAP possiamo scaricare il programma ImapSync (lo trovate in rete)
Per utilizzarlo e fare un clone esatto della cassetta postale seguite questi semplici passi:
1) create un file di testo con questi dati:
File.txt
# Example file.txt for imapsync massive migration.
#
# Each line contains 4 columns, columns are parameters for --user1 --password1 --user2 --password2
# Windows: see the script examples/sync_loop_windows.bat
# Unix: see the script examples/sync_loop_unix.sh
#
#
# Now the data example
#
usersorgente@dominio1.it;password-sorgente;userdestinatario@dominio.it;password-destinatario
Potete mettere un utente sotto l'altro con la stessa sintassi
2) Create un file .bat (usate tutto da windows) con questi dati:
rsync.bat
SET csvfile=file.txt
FOR /F "tokens=1,2,3,4 delims=; eol=#" %%G IN (%csvfile%) DO (
imapsync ^
--host1 ServerSorgente.dom.com --user1 %%G --password1 %%H ^
--host2 ServerDest.dom.com --user2 %%I --password2 %%J --delete2 --expunge2 --delete2folders --syncinternaldates
@ECHO.==== End syncing from account %%G to account %%I ====
@ECHO.
)
@ECHO Loop finished!
@ECHO Log files are in LOG_imapsync directory
@PAUSE
Mettete i due file nella stessa cartella e lanciate il file bat.
Luca
C e r t i f i c a z i o n i
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |