Sha256: a783dfaae0ad5fc40dfeaca80edfbd2a4958cdafa97e825062bc76063d55b248
Contents?: true
Size: 1.98 KB
Versions: 16
Compression:
Stored size: 1.98 KB
Contents
# Migrate to a new e-mail server while keeping your existing address While switching e-mail provider (from provider `A` to `B`), you might want to keep the same address (`mymail@domain.com`), and copy all your existing e-mails to your new server `B`. `imap-backup` can do that too! It is best to use [`imap-backup migrate`](/docs/commands/migrate.md) and not [`imap-backup restore`](/docs/commands/restore.md) here because `migrate` simply copies emails to folders with the same name as the ones they were downloaded from, while `restore` changes the names of restored folders if folders with the same name already exist on the destination server. 1. Backup your e-mails: use [`imap-backup setup`](/docs/commands/setup.md) to setup connection to your old provider `A`, then launch [`imap-backup backup`](/docs/commands/backup.md). 1. Actually switch your e-mail service provider (update your DNS MX and all that...). 1. As both the source and the destination have the same address, you need to manually rename your old account first: 1. Modify your configuration file manually (i.e. not via `imap-backup setup`) and rename your account to `mymail-old@domain.com`: ```diff "accounts": [ { - "username": "mymail@domain.com", + "username": "mymail-old@domain.com", "password": "...", - "local_path": "/some/path/.imap-backup/mymail_domain.com", + "local_path": "/some/path/.imap-backup/mymail-old_domain.com", "folders": [...], "server": "..." } ``` 1. Rename the backup directory from `mymail_domain.com` to `mymail-old_domain.com`. 1. Set up a new account giving access to the new provider `B` using `imap-backup setup`. 1. Now you can use `imap-backup migrate`, optionally adapting [delimiters and prefixes configuration](/docs/delimiters-and-prefixes.md) if need be: imap-backup migrate mymail-old@domain.com mymail@domain.com [options]
Version data entries
16 entries across 16 versions & 1 rubygems