Host2_ user2_1 password2_1 host2_2 user2_2 password2_2 To use imapsync with multiple accounts, we’ll need to create a file with usernames and passwords like below: $ vim $HOME/accounts.txtĪdd Mailbox accounts with passwords. Note that and must be replaced with appropriate IP addresses or hostnames of the mail servers. Import Mail accounts from one server to another using Imapsyncīelow is a basic usage example of Imapsync: imapsync -host1 \.Now the install command (need root priviledges again): sudo cp imapsync /usr/bin/ imapsyncĪ live test showing imapsync job: $. Now download imapsync tarball and install it.ĭo a dependencies test that shows also the basic example: $. Then manually install perl module Data::Uniqid and Mail::IMAPClient sudo cpanm Data::Uniqid Mail::IMAPClient JSON::WebTokenģ. First install required dependency packages: sudo apt-get install \Ģ. $ imapsync -tests Install imapsync on Debian and Ubuntuġ. Install i mapsync on CentOS 7 from EPEL repo sudo yum install imapsync imapsync -tests Install i mapsync on CentOS 7Įnable EPEL repository on CentOS 7 system: sudo yum install epel-release Install the following Perl module: sudo cpanm lazy Test::MockObject Install required tools: sudo yum -y install wget perl-App-cpanminus gcc Install imapsync on CentOS 8 / Rocky Linux 8 / AlmaLinux 8
0 Comments
Leave a Reply. |