# US 10,958,728 B1 · Mail server migration with message synchronization

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,958,728 B1
- Document ID: US10958728B1
- Status: Granted
- Kind: B1
- Application number: 16/508,997
- Filed: 2019-07-11
- Granted: 2021-03-23
- Earliest claimed: 2016-09-16
- Assignees: Plesk International GmbH
- Applicants: Plesk International GmbH
- Inventors: Alexey Baturin
- Web page: https://patentgrep.com/patent/US10958728B1

## CPC

- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- H04L 51/42: Mailbox-related aspects, e.g. synchronisation of mailboxes
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/14: Session management (for real-time applications in data packet communications networks H04L65/1066)
- H04L 69/16: Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L 67/133: Protocols for remote procedure calls [RPC]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Mail server migration. For each mailbox, a migration utility is started on a target server to get a list of message IDs that have already been migrated. The command “listmessage-ids” is executed. The migration utility is started on the source server in a backup mode. The “backup” command is executed. Then, the migration utility is started on the target server in a restore mode. A “restore” command imports the messages. The migration utility on the source server provides mail messages to a standard output. The migration utility on the target server accepts mail messages on the standard input and restores them. RPC agent transfers data via TCP once it gets it from the migration utility on the source server. The migration module receives data from the RPC agent and puts data to the standard input of the migration utility on the target server as soon as it receives it.

## Claims

### Claim 1

A system for migration of a mail server that includes a processor, the system comprising:
a migration utility running on the processor where a target server is running, and configured to acquire a list of message identifiers (IDs) of all messages that have already been migrated and that already exist on the target server, and to write a list of the IDs into a file,
wherein the message IDs are generated based on a file name where each message is stored, if available, otherwise, based on a message header, if available, otherwise, based on a hash of the corresponding message;
the migration utility configured to execute a command to import, to the target server, any remaining messages that have not yet been migrated, and store the remaining messages on the target server;
a target mail server residing on the target server; and
the migration utility connecting to a source server using a Remote Procedure Call (RPC) agent for a transfer of the mail messages to the migration module in a stateless manner and for importing the mail messages to the target mail server,
wherein the messages are transferred using (i) a mail server Application Programming Interface, otherwise (ii) directly onto mail storage, otherwise (iii) using an IMAP protocol, and otherwise (iv) using POP3 protocol.

### Claim 2 (depends on 1)

The system of claim 1, wherein the target mail server stores message onto the mail storage.

### Claim 3 (depends on 1)

The system of claim 1, wherein the target mail server is of a different type from a source mail server residing on a source server.

### Claim 4

A method for migration of a mail server, the method comprising:
launching a migration utility on a target server, the target server executing on a processor;
acquiring a list of message identifiers (IDs) of all messages that have already been migrated and that already exist on the target server, and writing a list of the message IDs into a file,
wherein the message IDs are generated based on a file name where each message is stored, if available, otherwise, based on a message header, if available, otherwise, based on a hash of the corresponding message; and
connecting the migration utility to a source server using a Remote Procedure Call (RPC) agent that receives the file with the message IDs, for a transfer of the mail messages to the migration module in a stateless manner and for using the migration utility to import, to the target server, any remaining messages that have not yet been migrated from a source server, and to store the remaining messages on the target server using IMAP or POP3 protocols,
wherein the messages being transferred are converted into a server-independent binary form for transmission from the source server to the target server.

### Claim 5 (depends on 4)

The method of claim 4, further comprising copying the messages using (i) a mail server Application Programming Interface, otherwise (ii) directly onto mail storage, otherwise (iii) using an IMAP protocol, and otherwise (iv) using POP3 protocol.

### Claim 6 (depends on 4)

The method of claim 4, wherein the target mail server stores message onto the mail storage.

### Claim 7 (depends on 4)

The method of claim 4, wherein the target mail server is of a different type from a source mail server residing on the source server.
