Archiving Emails from Microsoft Office 365


This tutorial only covers the specifics of archiving from Microsoft Office 365 mailboxes. It is assumed that you already have a MailStore Server installation or test installation and are familiar with the fundamentals of MailStore Server. Please refer to the Quick Start Guide for more information.

MailStore Server offers several ways to archive emails from Microsoft Office 365 mailboxes, which are described below. If you are not sure which archiving method best suits your company, please refer to chapter Choosing the Right Archiving Strategy.

 
Important notice

Dependent on your Office 365 plan, some archiving methods might not be usable in MailStore. The methods described under Archiving Multiple Office 365 Mailboxes Centrally and Archiving Incoming and Outgoing Emails Directly require functions that are only available in certain Office 365 plans.

Synchronizing Users

If you synchronize your Office 365 environment with an on premise Active Directory, it is recommended to set up a synchronization as described in chapter Active Directory Integration of the MailStore Server manual.

Archiving Individual Office 365 Mailboxes

Setting Up the Archiving Process

For each mailbox, please proceed as follows:

 

As Office 365 uses trusted certificates, the option Ignore SSL Warnings can be deselected.

If you do not know the host name, you can find it out by using the MailStore Exchange Autodiscover Tool.

Alternatively, any user with the appropriate access permissions for the mailbox to be archived can be specified. In this case, it is imperative that this mailbox is specified under Mailbox (see below).

 

 

More information on how to execute archiving profiles can be found under the topic Email Archiving with MailStore Basics

Archiving Multiple Office 365 Mailboxes Centrally

With MailStore, some or all mailboxes of Microsoft Office 365 can be archived in a single step. All necessary preparations, such as creating MailStore users, can be made automatically. The archiving process can be executed manually or automatically according to a schedule.

 
Important notice

Please make sure that the feature ApplicationImpersonation, which is required in order to archive multiple Office 365 mailboxes in a single step, is available in your Office 365 plan.

Step 1: Setting up a central user for accessing mailboxes

Before the archiving process can be set up in MailStore, you have to create a user that has access to all mailboxes. Afterwards follow these steps, to grant access permissions to the newly created user on all mailboxes:

 

Step 2: Configuration of MailStore Server

Please proceed as follows:

 

 
Important notice

In order to be able to archive multiple mailboxes, some MailStore users along with their email addresses have to exist in the MailStore user management. If this is not the case, MailStore will offer to set up and execute the Active Directory Synchronization at this point. Once completed, the wizard will resume. If Active Directory Synchronization is not desired, the process can be canceled. In this case, users have to be created manually as described the in chapter User Management. Once finished, click on Archive Email and then on Microsoft Exchange.

As Office 365 uses trusted certificates, the option Ignore SSL Warnings can be deselected.

If you do not know the host name, you can find it out by using the MailStore Exchange Autodiscover Tool.

 

All users with configured email address

Choose this option to archive the mailboxes of all users who are set up, along with their email addresses, in MailStore’s user management.

All users except the following

Choose this option to exclude individual users (and thereby their Exchange mailboxes) from the archiving process, using the list of users below.

Only the following users

Choose this option to include individual users (and thereby their Office 365 mailboxes) in the archiving process, using the list of users below. Only the mailboxes of those users explicitly specified will be archived.

Synchronize with Directory Services before archiving

If selected, the MailStore Server user list will be synchronized with a Directory Service (usually Active Directory) before any archiving process is executed.
If your Office 365 environment is synchronized with an on-premise Active Directory, updates or additions of AD users will be reflected in MailStore Server as well before archiving. That way, once the archiving process is executed, their Office 365 mailboxes are archived automatically. In such a scenario, this option is especially recommended when the archiving process is to be executed regularly according to a schedule.

More information on how to execute archiving profiles can be found under the topic Email Archiving with MailStore Basics

Archiving Incoming and Outgoing Emails Directly

With the support of Office 365 Exchange’s journal function, MailStore can archive the incoming and outgoing emails of all users automatically. This is the only way to ensure that all emails are archived in their entirety

Important notice

The Office 365 Exchange’s journal function, which is required to archive incoming and outgoing emails directly, is only available in certain Office 365 plans.

Basic Functionality

Microsoft Office 365 Exchange provides the option to take down all incoming, outgoing and internal email traffic. At the time of sending and receiving, a copy of the respective email is created and stored in a mailbox called Journal Mailbox. Additionally, the email is provided with a Journal report containing information about the actual senders and recipients.

MailStore can be configured to archive this Journal mailbox at regular intervals. During this process, the emails from the Journal mailbox will be assigned to their respective MailStore users (i.e. their user archives) automatically. This means that all users are able to view only their own emails.

Before the archiving process can be set up in MailStore, journaling has to be set up for the Office 365 Exchange environment. Please proceed as follows:

Step 1: Creating a Mailbox for Journaling

The following steps describe how to set up journaling for your Microsoft Office 365 account.

Click on + (New)

Step 2: Configuration of MailStore Server

Setting up the archiving profile is very similar to a non-hosted Exchange 2010 environment.

 
Important notice

Office 365 currently supports only external, Non-Office 365 mailboxes as journal mailboxes. In case the journal mailbox is a regular IMAP mailbox, you still have to select Microsoft Exchange > In- and Outbound E-mail Automatically under Archive E-mail in order to ensure that MailStore processes the journal reports correctly. Access via usually needs to be set to IMAP, IMAP-TLS or IMAP-SSL. The provider of such an IMAP mailbox must not remove the X-MS-Journal-Report header from the journal emails.

Please note that MailStore Server is not able to delete Office 365 journal emails from GMail mailboxes.

Please proceed as follows:

Important notice

In order to be able to archive emails immediately upon sending and receiving, some MailStore users along with their email addresses have to exist in the MailStore user management. If this is not the case, MailStore will offer to set up and execute the Active Directory Synchronization at this point. Once completed, the wizard will resume. If Active Directory Synchronization is not desired, the process can be canceled. In this case, users have to be created manually as described the in chapter User Management. Once finished, click on Archive Email and then on Microsoft Exchange.

Depending on the protocol chosen, there is the option to Ignore SSL Warnings. Generally, these warnings appear if an unofficial or selfsigned certificate is used on the mail server.

More information on how to execute archiving profiles can be found under the topic Email Archiving with MailStore Basics

 

See Also

Choose Version

 

 



Article ID: 347
Created On: Sun, Jan 5, 2014 at 10:06 AM
Last Updated On: Tue, Feb 4, 2014 at 3:43 AM
Authored by: KB Admin01 [[email protected]]

Online URL: https://kb.quikbox.com/article.php?id=347