doc/pages/02.user_guide/03.email_migration/email_migration.md
tituspijean 4a64b21fab
Create user guide
Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
Co-authored-by: nathanael-h <7300309+nathanael-h@users.noreply.github.com>
2022-08-04 19:49:07 +02:00

1.4 KiB
Raw Blame History

title template taxonomy routes
Migrating email from an email provider to a YunoHost instance docs
category
docs
default
/email_migration

Documentation linked to YunoHost email.

Migration of emails from one server to another can be done with two recommended tools: ImapSync or Larch.

This tool must be installed on your desktop computer. The transfer method looks at this schema:

Old email server > desktop computer with ImapSync or Larch > new email server

ImapSync

ImapSync site

Install ImapSync on your client computer by following this guide:

sudo dnf install imapsync # Under Fedora

Transfer emails from one server to another:

imapsync --host1 <domain/IP> --port1 993 --ssl1 --user1 <user> --password1 <password> \
--host2 <domain/IP> --port2 993 --ssl2 --user2 <user> --password2 <password>

Note that transfer settings --port 993 and --ssl are specific to YunoHost email server.

Larch

Larch site

After beforehand installed gem, install larch on your client computer:

sudo gem install larch

Transfer emails from one server to another:

larch -a -f imaps://serveur_d'origine.org -t imaps://serveur_de_destination.org

For other types of transfer refer to Larch documentation.