Kategorie: DirectAdminLinux

Mail migration with ImapSync

The following guide describes how to migrate mail from the server to the console server using ImapSync
It all comes down to issuing one command in the console!

First, how to install ImapSync itself on our system.

CentOS system

In the console, issue the command:

 yum install epel-release
  yum install imapsync

The next step is the e-mail migration itself, and here it is really easy! Just give a command in the console:

/usr/bin/imapsync --host1 test1.lamiral.info --user1 test1 --password1 secret1     --host2 test2.lamiral.info --user2 test2 --password2 secret2

And exactly:

/usr / bin / imapsync --host1 Current_email_host --user1 Source_email_address --password1 Source_email_password --host2 New_mail_server_host --user2 Destination_email_password --password2 Destination_email_password

We run it all in the console and wait.
After the operation, we have a log available. We also use the same command to sync the mail.

We can also add variables:

--ssl1 i --ssl2

If the mail is encrypted.

The command can be scripted nicely in bash so that we do the migration not only 1 boxes a 10 at once.

Linux

Udostępnij
Opublikowane przez
Linux

Recent posts

KeePass2 2.52 w Ubuntu 22.04

The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń

2 years temu

Installing Master PDF editor in Ubuntu 22.04

Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji

2 years temu

iotop - memory monitoring

Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w

2 years temu

Run multiple commands in one cron job

You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania

2 years temu

Changing the exif data of a photo in the Linux terminal

Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.

2 years temu

Installing Rocket.Chat Server on Rocky Linux 8

The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy

2 years temu