bash-scripts/mail/imapsync
VirtuBox b144603690 update mysqldump, add imapsync
* remove useless --skip-lock-tables option for mysqldump, already set by --single-transaction
* set gzip compression level to 1 instead of 9 : backup process is two times faster, but dump size is only 15% higher
* add imapsync script, installation instructions will be added soon
2018-08-15 15:23:41 +02:00
..
README.md update mysqldump, add imapsync 2018-08-15 15:23:41 +02:00
credentials.csv update mysqldump, add imapsync 2018-08-15 15:23:41 +02:00
imapsync-from-csv.sh update mysqldump, add imapsync 2018-08-15 15:23:41 +02:00

README.md

Script to migrate emails between two servers using imapsync - user credentials read from csv

Download the script and csv example

wget https://raw.githubusercontent.com/VirtuBox/bash-scripts/master/mail/imapsync/imapsync-from-csv.sh -O imapsync-from-csv.sh
wget https://raw.githubusercontent.com/VirtuBox/bash-scripts/master/mail/imapsync/credentials.csv -O credentials.csv
chmod +x imapsync-from-csv.sh

Run the script

Put your users crendentials in the csv file, and run imapsync-from-csv.sh this way :

./imapsync-from-csv.sh imap-server-1.tld imap-server-2.tld