Saturday, September 24, 2022
HomeSoftware EngineeringFind out how to Bulk Transfer All Electronic mail from One Account...

Find out how to Bulk Transfer All Electronic mail from One Account to One other utilizing the CLI


If you end up ready the place you’ll want to sync all emails from one account to a different, then you should utilize the imapsync command-line device to bulk copy, or transfer every thing for you.

Step 1 – Get imapsync

You could get the imapsync device operating domestically.

It may be discovered right here https://github.com/imapsync/imapsync

Alternatively, in case you are utilizing a Mac and have homebrew put in, then you definately’re in luck!

Merely brew set up imapsync and also you’re prepared.

Step 2 – Allow imap on the accounts

By default, imap is usually disabled on the e-mail server. We’ll discover Gmail on this case to check a sync.

In Gmail, beneath Settings, discover Forwarding and POP/IMAP and make it possible for imap is enabled.

Additionally make it possible for Auto-Expunge is off, and choose Instantly delete the message perpetually. Be sure that Folder dimension limits aren’t set.

Gmail imap settings

Step 3 – Configure your account creds

You will want the username and password for every account, so have them at hand!

Step 4 – Run the command!

Now you can run the device to switch all emails from account1 to account2.

Sync from host1 to host2 and delete after success on host1

This selection will will let you robotically sync every thing in source_account (host1) to destination_acount (host2) and on profitable migration of e-mail, it is going to delete the e-mail/s within the source_account.

This selection is nice in case you are migrating from 1 account to a different:

Code language: plaintext (plaintext)

Sync from host1 to host2 with out deleting something

For those who don’t wish to delete any e-mail/s in your source_account (host1) after profitable e-mail transfers, then you’ll be able to merely omit the --delete1 flag, as follows:

Code language: plaintext (plaintext)

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

nineteen − 17 =

Most Popular

Recent Comments