MailArchiva archives email data from the point at which the product is deployed. If there is the need to archive historical (pre-deployment) data, it can be imported separately using the product's import facility. MailArchiva has inbuilt facilities for importing messages from .EML (RFC2822), MBOX, PST, OST, and direct import from Microsoft Office 365, MS Exchange and Google Workspace.
It is important to note that during import MailArchiva may temporarily fill up the index receive queue until it reaches a maximum configurable size. This can happen when importing data from very fast import sources (such as EML import from disk), as the time taken to move the import data to the receive queue is much faster than the time it takes to index, compress, encrypt and store the data in the volume store. I It is good practice to place the queues on a separate disk partition so that the server can continue to function effectively in the event the amount of data in the queues fill up all available disk space on the partition.
The import dialog is accessible by clicking the Import Data button in Configuration->Volumes, or from the top right User menu. Click the Import Data button in the Configuration->Volumes. Select EML, MBOX or PST as the import source.
To import emails from your workstation, simply drag 'n drop the emails from File Explorer onto the "Drop file here" location. MailArchiva streams the data from your client machine to a temporary location on the MailArchiva server. If importing a large number of files, zip them up and drop a zip file onto the drop location. Upon receiving a zip file, MailArchiva will automatically unpack it and import each file in the archive file automatically.
The Import From Server option allows data to be imported from the local server. To import the data from the server running MailArchiva, copy the files to a directory on the server using File Explorer. Click the down arrow beside the source directory control, and select the folder where the files are located. To import recursively, enter “*” in the Include Directories field. Click Import Data to start the import process.
Note For Administrators: To prevent users from writing data to any path on the file system, it is essential that an Import path restriction is defined in Configuration->General->Limits. This setting constrains the import path such that it is specified relative to the restriction folder (i.e. CHROOT).
When importing a large number of files, some files may not be imported successfully due to issues ranging from data corruption, unrecognized format to undetected mailbox owner email address (in the case of a PST file). To assist in identifying which files were processed successfully, and which were not, there is the option to either delete or add a prefix to those files that were successfully processed.
MailArchiva supports a variety of file import sources; they are:
After starting an import process, the import task may monitored and will run in the background until the task is complete or it is stopped.
EML (short for electronic mail), is a file extension for an email message saved to a file in the Internet Message Format protocol for electronic mail messages. MBOX (short for mailbox) is a mail format used for organizing and storing multiple email messages in a single text file. Both these formats are commonly used for storing and exchanging email data between systems.

.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy8zMDcvMzkzL2NrZmluZGVyL2ltYWdlcy9xdS9pbWFnZSgxMSkucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzY1MTQ4MzM2fX19XX0_&Signature=kBZHKCGks1nxYuGy0yOLI4npftJW4KF11ELi0Wbbo7B3sBgZa4SB~RtJ-mV6KTDJC-LkxrPyUHYY~AeoNXztckIUkgEXjvZZG5C37Lma6X3EEAfR~14ZY4vcnt5hHXvYKbcDWTEuUskydVWM4W5DFjovQLEqzVCp7v~maJiDn~6YHTxFeCOy5nbetT3snpZbRKLl4Ngi0Na~019l7j2U6fEFRgbhkcf0XgOHbfSRzLzhu9OVm1IZd2QBlR~nkvtUzzFJSP7BBVZlcUU-8VvpHBsQpSuqHNPoxwDzaQYwUV2SQ~LxV2-1Xva8pKg32rHJkg4jVT4I-IdabR8dky~B8Q__&Key-Pair-Id=K2TK3EG287XSFC)
PST and OST files are Outlook Data Files. They contain not only email data, but also Outlook folders, calendar entries and contact entries. To import PST data from PST, visit Configuration->Volumes, click Import Data, and select PST as the Import Source. Drag 'n drop a PST file onto the "Drop here" box, and click Import Data. MailArchiva streams the data from the client machine to a temporary location on the MailArchiva server.
When presenting the tree view in the search interface, all imported PST folder entries link to the PST owner's primary email address. There are three ways that the PST owner's primary email address is determined:
Determing the PST owner automatically may take time, since it is necessary to scan the entire PST file to determine the owner. With "auto detect primary email address" unchecked, import is considerably faster as there is no need to scan the entire PST. If the auto-detect primary email address option is disabled, then the specified owner's email will be used. If auto detect is enabled, and the system is unable to detect the owner, then the specified owner email will be applied as the default, unless it is not specified, in which case, the import of the PST will fail.
The folder view in the search interface needs to be able to assign imported folders and data from a PST file to a mailbox. MailArchiva assigns the contents of a PST to the mailbox owner's primary address in the following manner:
The above assigns allen.pst, peter.pst to allen@company.com and peter@company.com, respectively.
MailArchiva is capable of performing direct imports of messages from Microsoft Exchange (2003 to 2019). Before an import is attempted, it is necessary to define an impersonation account with sufficient rights to access all mailboxes.
Prerequisites
Import Procedure
Prior to performing a GSuite import, the GSuite Archiving & Sync configuration steps must be performed.
Thereafter, perform the following steps:
After initiating the import process as described earlier, the import task may be monitored by either clicking on Status->Tasks in the top menu, or clicking Tasks in the top right menu. To view the output of the import process, click the magnifying glass. To stop the import process, click the stop icon. The results of an import process are also available in the import log accessible from Configuration->Logs.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy8zMDcvMzkzL2NrZmluZGVyL2ltYWdlcy9pbXBvcnR0YXNrKDEpLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2NTE0ODMzNn19fV19&Signature=DtOn545yGJcsBnXx5e9HxV9uX3S1PobvBwJoarHHhxW9yvxA8fPog31f0yLipjuHyvRpttRGeKmQIOObGZDukt46SG4kaKvXCB-Ju6DA2wLnyKsEkFpgOvjXdP1o8u0Rh2Z6Yj~4Iuk4AgitQvKkMy2aZhIeMhQSiTQUWo0M0i0XlGzFyn0MU8T0Q35jk4TS1a0MJAwDWqJhaCmQQoDzhTgzcuuByl5LLDUaUX2ftjXLEjXjLnPvwGKYbJoRrknGsDCNzz7WQ1rp9qI3WRcoYj0cmkadX6Cq9OlT-ZKA-6GmzHFTKvXQXNkRpUXCBCyTYugQhgbiJE0Ipz8CKc2UYQ__&Key-Pair-Id=K2TK3EG287XSFC)
Once an import process is started, it is safe to logout of the console. The import task will continue to run in the background. If system alerts are enabled, an alert will be sent via email when the import task is complete.