Difference between revisions of "Archiving Emails Without Your Own Emailserver"

[unchecked revision][checked revision]
(37 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''Please note:''' This article only addresses archiving methods in environments without an email server. It is assumed that you already have a MailStore Server installation or [http://www.mailstore.com/en/lp/sendlicense.aspx test installation] and are familiar with the basic functionality of MailStore Server. Please refer to the [[Manual]] or the [[Quick_Start_Guide|Quick Start Guide]].
+
'''Please note:''' This article only addresses archiving methods in environments without an email server. It is assumed that you already have a MailStore Server installation or [https://www.mailstore.com/en/products/mailstore-server/mailstore-server-trial-download/ test installation] and are familiar with the basic functionality of MailStore Server. Please refer to the [[MailStore_Help|Manual]] or the [[Quick Start Guide]] for more information.
  
 
MailStore Server offers several methods for archiving emails from an email server; they are described in the following. If you are not sure which archiving method is best for your company, please refer to chapter [[Choosing the Right Archiving Strategy]].
 
MailStore Server offers several methods for archiving emails from an email server; they are described in the following. If you are not sure which archiving method is best for your company, please refer to chapter [[Choosing the Right Archiving Strategy]].
  
= Creating and Synchronizing User Accounts =
+
== Creating and Synchronizing User Accounts ==
 
 
== Why do I Need User Accounts in MailStore? ==
 
 
 
 
When emails are archived, they are always assigned to individual users. For each user, whose emails will be archived with MailStore, a user account has to be created in MailStore. In addition to [[Quick_Start_Guide#Adding_New_Users|manually setting up new users]], MailStore Server provides several options for importing existing user data.
 
When emails are archived, they are always assigned to individual users. For each user, whose emails will be archived with MailStore, a user account has to be created in MailStore. In addition to [[Quick_Start_Guide#Adding_New_Users|manually setting up new users]], MailStore Server provides several options for importing existing user data.
  
== Active Directory Synchronization ==
+
=== Active Directory Synchronization ===
 
 
 
Within an Active Directory Domain Service environment, MailStore's internal user database can be synchronized with the active directory of your company. A description of this feature is available in the article [[Active Directory Integration]].
 
Within an Active Directory Domain Service environment, MailStore's internal user database can be synchronized with the active directory of your company. A description of this feature is available in the article [[Active Directory Integration]].
  
== Generic LDAP Server Synchronization ==
+
=== Generic LDAP Server Synchronization ===
 
 
 
MailStore Server offers support for generic LDAP servers, which is described in detail in the article [[Generic LDAP Integration]].
 
MailStore Server offers support for generic LDAP servers, which is described in detail in the article [[Generic LDAP Integration]].
  
== Using a CSV File ==
+
=== Using a CSV File ===
 
 
 
In relation with IMAP batch archiving, using a CSV file constitutes another option for importing user data. Detailed information about this topic is available in the article [[Batch-archiving_IMAP_Mailboxes|Batch Archiving IMAP Mailboxes]].
 
In relation with IMAP batch archiving, using a CSV file constitutes another option for importing user data. Detailed information about this topic is available in the article [[Batch-archiving_IMAP_Mailboxes|Batch Archiving IMAP Mailboxes]].
  
= Archiving Individual Mailboxes =
+
== Archiving Individual Mailboxes ==
  
== Archiving Local Email Programs ==
+
=== Archiving Local Email Programs ===
 
+
MailStore supports archiving emails from locally installed email applications such as Microsoft Outlook or Mozilla Thunderbird. This archiving method is especially useful for archiving historic data and is generally executed only once for each user. The emails located in the users' local profiles are placed in the central MailStore archive on the server. A detailed description of how to set up this archiving method is available in the article [[Archiving_Email_from_Outlook,_Thunderbird_and_others|Archiving Email from Outlook, Thunderbird and others]].
MailStore supports archiving emails from locally installed email applications such as Microsoft Outlook, Outlook Express or Mozilla Thunderbird. This archiving method is especially useful for archiving historic data and is generally executed only once for each user. The emails located in the users' local profiles are placed in the central MalStore archive on the server. A detailed description of how to set up this archiving method is available in the article [[Archiving_Email_from_Outlook,_Thunderbird_and_others|Archiving Email from Outlook, Thunderbird and others]].
 
  
 
Once the dispersed inventory data has been stored in the MailStore archive, we recommend setting up central archiving profiles directly on the MailStore server for regularly archiving the user mailboxes. These are described below.
 
Once the dispersed inventory data has been stored in the MailStore archive, we recommend setting up central archiving profiles directly on the MailStore server for regularly archiving the user mailboxes. These are described below.
  
== IMAP / POP3 ==
+
=== IMAP / POP3 ===
 
 
 
Archiving individual mailboxes on any email server can be done using the IMAP or POP3 protocols. Information about setting up the archiving process is available in the article [[Archiving Server Mailboxes]].
 
Archiving individual mailboxes on any email server can be done using the IMAP or POP3 protocols. Information about setting up the archiving process is available in the article [[Archiving Server Mailboxes]].
  
== Hosted Exchange, BPOS or Exchange Online ==
+
=== Microsoft Office 365 ===
 
+
If you are using Microsoft Office 365, please follow the instructions in our article [[Archiving Emails from Microsoft Office 365|Microsoft Office 365]].
If you are using Microsoft Office 365, formerly known as Microsoft Business Online Productivity Suite (BPOS), please follow the instructions in our article [[Archiving Emails from Microsoft Office 365|Microsoft Office 365]].
 
  
 +
=== Hosted Exchange ===
 
For archiving a Hosted Exchange mailbox, MailStore requires the access data for the email account made available by the provider. This includes user name (usually the email address), password as well as the (Exchange) server name.
 
For archiving a Hosted Exchange mailbox, MailStore requires the access data for the email account made available by the provider. This includes user name (usually the email address), password as well as the (Exchange) server name.
  
Generally, the email application identifies the name of the Exchange server automatically using the autodiscover function (if supported by the service provider). This is why the server name is typically unknown to the user. To determine the required information, several options are available which are described below:
+
Generally, the email application identifies the name of the Exchange server automatically using the autodiscover function (if supported by the service provider). This is why the server name is typically unknown to the user.
 
 
=== MailStore Exchange Autodiscover Tool ===
 
 
 
The free MailStore Exchange Autodiscover Tool provides the most convenient way for determining the Hosted Exchange server name.
 
After [[Media:ExchangeAutodiscover.zip|downloading]], extracting and starting the tool, it automatically detects the server name using the user name and password. Once retrieved, the data can be entered directly into the archiving profile.  
 
  
[[File:Autodiscover.png|center]]
+
The server can be detected manually using the ''Exchange Proxy Settings'' in Microsoft Outlook. They can be found at ''Tools | Account Settings | Change| More Settings | Connection | Exchange Proxy Settings''  
 
 
=== Detecting Access Data Manually in Microsoft Outlook ===
 
 
 
The server can also be detected manually using the ''Exchange Proxy Settings'' in Microsoft Outlook. They can be found at ''Tools | Account Settings | Change| More Settings | Connection | Exchange Proxy Settings''  
 
  
 
[[File:He_serversetting_en.png|600px|center]]
 
[[File:He_serversetting_en.png|600px|center]]
 
  
 
The setup of the archiving process for a Hosted Exchange mailbox is the same as the setup for a single Exchange mailbox on a local Exchange server. Additional information is available at [http://en.help.mailstore.com/Archiving_Emails_from_Microsoft_Exchange_2007#Archiving_Individual_Mailboxes| Archiving Individual Exchange Server Mailboxes].
 
The setup of the archiving process for a Hosted Exchange mailbox is the same as the setup for a single Exchange mailbox on a local Exchange server. Additional information is available at [http://en.help.mailstore.com/Archiving_Emails_from_Microsoft_Exchange_2007#Archiving_Individual_Mailboxes| Archiving Individual Exchange Server Mailboxes].
  
= Archiving Multiple Mailboxes in One Step =
+
== Archiving Multiple Mailboxes in One Step ==
 
 
== Batch Archiving of IMAP Mailboxes ==
 
  
 +
=== Batch Archiving of IMAP Mailboxes ===
 
Instructions for setting up [[Batch-archiving_IMAP_Mailboxes|Batch Archiving Of IMAP Mailboxes]] using a CSV file are available in the corresponding article.
 
Instructions for setting up [[Batch-archiving_IMAP_Mailboxes|Batch Archiving Of IMAP Mailboxes]] using a CSV file are available in the corresponding article.
  
== Hosted Exchange, BPOS or Exchange Online ==
+
=== Microsoft Office 365 ===
 
+
If you are using Microsoft Office 365 or Microsoft Exchange Online, please follow the instructions in our article [[Archiving Emails from Microsoft Office 365|Microsoft Office 365]].
If you are using Microsoft Office 365, formerly known as Microsoft Business Online Productivity Suite (BPOS), please follow the instructions in our article [[Archiving Emails from Microsoft Office 365|Microsoft Office 365]].
 
  
If your Hosted Exchange service provider offers setting up a "service account", this account can be used to archive multiple mailboxes in MailStore Server centrally. A "service account" is a user account with extended access privileges to multiple Exchange mailboxes. Additional information as well as detailed instructions for setting the appropriate privileges is available in the articles [[Archiving_Emails_from_Microsoft_Exchange_2007#Archiving_Multiple_Exchange_Mailboxes_Centrally|Exchange Server 2007]] and [[Archiving_Emails_from_Microsoft_Exchange_2010#Archiving_Multiple_Exchange_Mailboxes_Centrally|Exchange Server 2010]]
+
=== Hosted Exchange ===
 +
If your Hosted Exchange service provider offers setting up a "service account", this account can be used to archive multiple mailboxes in MailStore Server centrally. A "service account" is a user account with extended access privileges to multiple Exchange mailboxes. Additional information as well as detailed instructions for setting the appropriate privileges is available in our Exchange implementation guides:
 +
{{Hosted_Exchange_Versions|Archiving_Multiple_Exchange_Mailboxes_Centrally|Exchange Server}}
 +
== Archiving Incoming and Outgoing Emails Directly ==
 +
To implement the archiving of all incoming and outgoing emails directly without using a local email server, several methods are available depending on which features are provided by you email service provider.
  
= Archiving Incoming and Outgoing Emails Directly =
+
=== IMAP-Multidrop Mailbox ===
 +
If your email service provider supports setting up and using an IMAP or POP3 multidrop mailbox, it can also be used to archive all incoming and outgoing emails in MailStore. Setup procedures are described in the article [[Archiving IMAP and POP3 Multidrop Mailboxes]].
  
To implement the archiving of all incoming and outgoing emails directly without using a local email server, several methods are available depending on which protocols are supported by your email service provider:
+
=== Microsoft Office 365 ===
 +
If you are using Microsoft Office 365, please follow the instructions in our article [[Archiving Emails from Microsoft Office 365|Microsoft Office 365]].
  
== MailStore Proxy ==
+
=== Hosted Exchange ===
 +
In order to archive all incoming and outgoing emails in a hosted Microsoft Exchange environment, it is required to set up journaling for all users or just a specific a distribution group of Exchange users. Please contact your hosting provider if this is possible. Information on how to archive emails from a journal mailbox can be found in our Exchange implementation guides:
 +
{{Hosted_Exchange_Versions|Step_3:_Configuration_of_MailStore_Server|Exchange Server}}
  
If sending and receiving emails via POP3/SMTP, the free program MailStore Proxy can be used. Generally, the proxy server is placed between the local email client (e.g. Thunderbird, Outlook, etc.) and the email server of the service provider.  
+
=== MailStore Gateway ===
 +
If none of the previous options are available and sending and receiving emails is done via SMTP/POP3, the free program MailStore Gateway can be used as it provides SMTP and POP3 proxy functionality. Technically, MailStore Gateway is placed between the local email clients (e.g. Thunderbird, Outlook, etc.) and the email server of the email service provider. Email clients are reconfigured to send and receive emails via MailStore Gateway, instead of the email service provider's server.
  
=== Setup of the MailStore Proxy ===
+
<p class="msnote">'''Please note:''' MailStore Gateway only supports encrypted connections to protect login information and the transferred email content. The inbound connection parameters (e.g. port, encryption type) are used for the outbound connection to the email service provider's server as well.</p>
  
To setup the MailStore Proxy, please proceed as follows:
+
==== Setup MailStore Gateway ====
 +
The following are general steps to setup MailStore Gateway for the SMTP/POP3 proxy archiving scenario. Please refer to the [https://help.mailstore.com/en/gateway/ MailStore Gateway Manual] for detailed instructions about:
  
* Install the MailStore proxy server on a machine which is able to connect to the internet. This can but does not have to be the same machine on which MailStore Server is installed.
+
* Installation and setup
* Open the administration via MailStore Proxy Admin and set up a server for each, the incoming (POP3) and the outgoing (SMTP) connection. (Hint: If you retrieve your emails from different email servers, you can add additional proxy servers to the configuration.)
+
* Logging on to the management console
 +
* Creating mailboxes
  
: [[File:Server_settings_smtp.png‎|550px|center]]
+
After these steps, a mailbox with a unique ID (i.e. mbx-dead1234beef5678) should exist.
  
* Enter a meaningful name for the local SMTP server
+
Once a new MailStore Gateway mailbox has been created, the configuration of the email clients must be changed. On the ''SMTP Proxy'' and ''POP3 Proxy'' tabs in the MailStore Gateway Management Console, the generic client configuration is shown. The example below demonstrates which particular settings need to be modified, followed by instructions on how to configure them in well known email clients.
* Under ''Incoming'', choose the IP address from which the proxy server is to accept connections in the local network (default: ''All IP addresses'')
 
* Enter the port used (default: port 25)<br/>'''Please note:'''If there already is a program listening to port 25 installed on the machine on which the MailStore proxy server runs, an alternative port (e.g. port 26) has to be used for MailStore Proxy. Please keep in mind that this setting must be taken into account when setting up the email clients
 
* Under ''Destination Server'', enter the SMTP server address of your provider
 
* Enter the port used (default: port 25)
 
* If the connection to the destination server is to be encrypted, select the encryption type. Whether or not the connection to the destination server will be encrypted does in no way depend on the connection to MailStore Proxy being encrypted.<br/>'''Please note:''' When using encryption type SSL, the connections are generally made via port 465, not port 25. If necessary, change the value of the field ''port'' under ''destination server'' accordingly. 
 
* If the SMTP server entered as destination server requires authentication, access data can be specified in the fields user name and password. This data is then used to connect to the destination server. Therefore, it is not necessary to keep the access data on the work stations.
 
  
Once the SMTP server connection is configured, open the ''POP3 Proxy Server'' tab to configure the POP3 server connection.
+
<p class=msnote>'''In environments with branch- or home offices, please note:''' Please keep in mind that all email clients have to be set up for using the MailStore proxy server. Because of this, the email clients in branch- or home offices have to be routed through the main office for sending or receiving emails. This can be done by using a VPN connection, for example.</p>
  
: [[File:Server_settings_pop3.png‎|550px|center]]
+
'''Example'''
 +
{|
 +
! Email Service Provider Domain
 +
| example.net
 +
|-
 +
! Local Domain
 +
| example.com
 +
|-
 +
! MailStore Gateway Server Name
 +
| gateway.example.com
 +
|-
 +
! Mailbox ID
 +
| mbx-dead1234beefdead5678beef
 +
|}
  
* Enter a meaningful name for the local POP3-Server
+
'''SMTP Settings'''
* Under ''Incoming'' select the IP address from which the proxy server is to accept connections in the local network. (Default: ''All IP addresses'')
 
* Enter the port used (default: port 110)<br/>'''Please note:''' If there already is a program installed on the machine on which the MailStore proxy server runs which is listening to port 110, an alternative port (e.g. port 111) must be used for MailStore Proxy. Please keep in mind that this setting must be taken into account when setting up the email clients.
 
* Under ''destination server'' enter the POP3 server address of you provider
 
* Enter the port used (default: port 110)
 
* If the connection to the destination server is to be encrypted, select the encryption type. Whether or not the connection to the destination server will be encrypted does in no way depend on the connection to MailStore Proxy being encrypted.<br/>'''Please note: '''When using encryption type SSL, the connections are generally made via port 995, not port 110. If necessary, change the value for the field ''port'' under ''destination server'' accordingly.
 
  
Once all necessary configurations are complete, the MailStore Proxy Server service must be restarted once. Afterwards, you may close the configuration program.
+
{| class="wikitable"
 +
!
 +
!Old Value
 +
!New Value
 +
|-
 +
!Server Name
 +
|smtp.example.net
 +
|gateway.example.com
 +
|-
 +
!Port
 +
|587
 +
|587
 +
|-
 +
!Security
 +
|STARTTLS
 +
|STARTTLS
 +
|-
 +
!User Name
 +
|john.doe
 +
|john.doe%smtp.example.net%mbx-dead1234beefdead5678beef
 +
|}
  
=== Setup of Email Clients ===
+
'''POP3 Settings'''
 +
{| class="wikitable"
 +
!
 +
!Old Value
 +
!New Value
 +
|-
 +
!Server Name
 +
|pop.example.net
 +
|gateway.example.com
 +
|-
 +
!Port
 +
|995
 +
|995
 +
|-
 +
!Security
 +
|SSL/TLS
 +
|SSL/TLS
 +
|-
 +
!User Name
 +
|john.doe
 +
|john.doe%pop.example.net%mbx-dead1234beefdead5678beef
 +
|}
  
Next, configure your email clients for using MailStore Proxy (in the following described as using Mozilla Thunderbird and Outlook 2007).
+
==== Setup of Email Clients ====
 +
Next, configure your email clients to use MailStore Gateway.
  
 
'''Mozilla Thunderbird:'''
 
'''Mozilla Thunderbird:'''
  
* In Mozilla Thunderbird, open the mailbox settings via ''Tools | Account Settings''
+
* In Mozilla Thunderbird, open the mailbox settings via ''Thunderbird Menu > Options > Account Settings''.
* Under ''Outgoing Mail Server (SMTP)'', select your current SMTP server and click on ''Edit''
+
* Under ''Outgoing Mail Server (SMTP)'', select your current SMTP server and click on ''Edit''.
 
+
*: [[File:Client_settings_smtp.png|350px|center]]
: [[File:Client_settings_smtp.png|600px|center]]
+
* Change the ''Server Name'' to the host name or the IP address of the MailStore Gateway computer.
 
+
* Adjust the ''User Name'' field to match the format ''remote_username%target_server%mailbox_id'' where
* Change the SMTP server being used and enter the DNS name or the IP address of the MailStore Proxy
+
** ''remote_username'' is the user name (e.g. john.doe) to login to a mailbox on ''target_server'',
* Click on ''OK'' to save the changes
+
** ''target_server'' is the host name of the email service provider's server (e.g. smtp.example.net),
* To change the POP3 server, click on ''Server Settings''
+
** ''mailbox_id'' is the unique identifier of the MailStore Gateway mailbox into which copies of the sent emails are to be stored,
 
+
** ''%'' is the percent character that is used as separator between the parameters.
: [[File:Client_settings_pop3.png|600px|center]]
+
* Click on ''OK'' to save the changes.
 
+
* To change the POP3 server, click on ''Server Settings'' under the corresponding account.
* Change the POP3 server being used and enter the DNS name or the IP address of the MailStore Proxy
+
*: [[File:Client_settings_pop3.png|350px|center]]
* Save the new settings
+
* Change the ''Server Name'' to the host name or the IP address of the MailStore Gateway computer.
 
+
* Adjust the user name to match the format ''remote_username%target_server%mailbox_id'' where
Send a test email to verify the new settings. If they are correct, the email will be sent to the mailbox of the recipient. In the ''output directory'', you will also find a copy of the email message in *.eml format as well as a report file in *.mpr format.
+
** ''remote_username'' is the user name (e.g. john.doe) to login to a mailbox on ''target_server'',
 +
** ''target_server'' is the host name of the email service provider's server (e.g. pop.example.net),
 +
** ''mailbox_id'' is the unique identifier of the MailStore Gateway mailbox into which copies of the received emails are to be stored,
 +
** ''%'' is the percent character that is used as separator between the parameters.
 +
* Click ''OK'' to save the settings.
  
 +
Send a test email to verify the new settings. If they are correct, the email will be sent to the mailbox of the recipient and a copy is stored in the MailStore Gateway mailbox with the given ID.
  
 
'''Microsoft Outlook'''
 
'''Microsoft Outlook'''
  
* Open the mailbox settings<br/>'''Outlook 2007:''' In the ''Tools'' menu, click on ''Account Settings''<br/>'''Outlook 2010:''' On the ribbon bar, click on ''File'' and under the menu item ''Information'' on ''Account Settings | Account Settings''
+
* Open the mailbox settings by clicking on ''File > Info > Account Settings > Manage Profiles > Email Accounts...''
* Select the appropriate account and click on ''Change''
+
* Select the appropriate account and click on ''Change''.
 
+
*: [[File:Client_Settings_Outlook.png|350px|center]]
: [[File:Outlook07.png|600px|center]]
+
* Change the SMTP server as well as the POP3 server being used and enter the host name or the IP address of the MailStore Gateway computer.
 
+
* Adjust the user name to match the format ''remote_username%target_server%mailbox_id'' where
* Change the SMTP server as well as the POP3 server being used and enter the DNS name or the IP address of the MailStore Proxy
+
** ''remote_username'' is the user name (e.g. john.doe) to login to a mailbox on ''target_server'',
* Save the changes by clicking  on ''Next | Finish''  
+
** ''target_server'' is the host name of the email service provider's server (e.g. pop.example.net),
 
+
** ''mailbox_id'' is the unique identifier of the MailStore Gateway mailbox into which copies of the received emails are to be stored,
Send a test email to verify the new settings. If all settings are correct, the email will be sent to the mailbox of the recipient. In the ''output directory'', you will also find a copy of the email message in *.eml format as well as a report file in *.mpr format.
+
** ''%'' is the percent character that is used as separator between the parameters.
 
+
* Click on ''More Settings ...''
'''In environments with branch- or home offices, please note:''' Please keep in mind that all email clients have to be set up for using the MailStore proxy server. Because of this, the email clients in branch- or home offices have to be routed through the main office for sending or receiving emails. This can be done by using a VPN connection, for example.
+
* Open the tab ''Outgoing Server''.
 
+
*: [[File:Outlook08_client_settings_en.png|350px|center]]
== IMAP-Multidrop Mailbox ==
+
* Check the box ''My outgoing server (SMTP) requires authentication''.
 
+
* Select the option ''Log on using''.
If your email service provider supports setting up and using an IMAP or POP3 multidrop mailbox, it can also be used to archive all incoming and outgoing emails in MailStore (as an alternative to using the MailStore proxy server). Setup procedures are described in the article [[Archiving IMAP and POP3 Multidrop Mailboxes]].
+
* Adjust the user name to match the format ''remote_username%target_server%mailbox_id'' where
 
+
** ''remote_username'' is the user name (e.g. john.doe) to login to a mailbox on ''target_server'',
== Hosted Exchange ==
+
** ''target_server'' is the host name of the email service provider's server (e.g. smtp.example.net),
 
+
** ''mailbox_id'' is the unique identifier of the MailStore Gateway mailbox into which copies of the sent emails are to be stored,
If you are using Microsoft Office 365, formerly known as Microsoft Business Online Productivity Suite (BPOS), please follow the instructions in our article [[Archiving Emails from Microsoft Office 365|Microsoft Office 365]].
+
** ''%'' is the percent character that is used as separator between the parameters.
 +
* Enter the password for the outgoing server.
 +
* Click ''OK''.
 +
* Save the changes by clicking  on ''Next > Finish''.
  
In order to archive all incoming and outgoing emails in a hosted Microsoft Exchange environment, it is required to set up journaling for all users or just a specific a distribution group of Exchange users. Please contact your hosting provider if this is possible. Information on how to archive emails from a journal mailbox can be found under [[Archiving_Emails_from_Microsoft_Exchange_2007#Step_3:_Configuration_of_MailStore_Server|Archiving Emails from Microsoft Exchange 2007]] or [[Archiving_Emails_from_Microsoft_Exchange_2010#Step_3:_Configuration_of_MailStore_Server|Archiving Emails from Microsoft Exchange 2010]].
+
Send a test email to verify the new settings. If they are correct, the email will be sent to the mailbox of the recipient and a copy is stored in the MailStore Gateway mailbox with the given ID.
  
= Weblinks =
+
==== Setup of MailStore ====
* [http://www.mailstore.com/de/support.aspx MailStore Support]
+
{{Archiving MailStore Gateway Mailbox|''E-mail Client''|Arch_MailStore_Gateway_Client_01.png|Arch_MailStore_Gateway_Client_02.png|DSLink=[[#Creating_and_Synchronizing_User_Accounts|directory synchronization]]}}
  
 
[[de:E-Mail-Archivierung_ohne_eigenen_E-Mail-Server]]
 
[[de:E-Mail-Archivierung_ohne_eigenen_E-Mail-Server]]
 +
[[en:Archiving_Emails_Without_Your_Own_Emailserver]]

Revision as of 16:10, 11 December 2019

Please note: This article only addresses archiving methods in environments without an email server. It is assumed that you already have a MailStore Server installation or test installation and are familiar with the basic functionality of MailStore Server. Please refer to the Manual or the Quick Start Guide for more information.

MailStore Server offers several methods for archiving emails from an email server; they are described in the following. If you are not sure which archiving method is best for your company, please refer to chapter Choosing the Right Archiving Strategy.

Creating and Synchronizing User Accounts

When emails are archived, they are always assigned to individual users. For each user, whose emails will be archived with MailStore, a user account has to be created in MailStore. In addition to manually setting up new users, MailStore Server provides several options for importing existing user data.

Active Directory Synchronization

Within an Active Directory Domain Service environment, MailStore's internal user database can be synchronized with the active directory of your company. A description of this feature is available in the article Active Directory Integration.

Generic LDAP Server Synchronization

MailStore Server offers support for generic LDAP servers, which is described in detail in the article Generic LDAP Integration.

Using a CSV File

In relation with IMAP batch archiving, using a CSV file constitutes another option for importing user data. Detailed information about this topic is available in the article Batch Archiving IMAP Mailboxes.

Archiving Individual Mailboxes

Archiving Local Email Programs

MailStore supports archiving emails from locally installed email applications such as Microsoft Outlook or Mozilla Thunderbird. This archiving method is especially useful for archiving historic data and is generally executed only once for each user. The emails located in the users' local profiles are placed in the central MailStore archive on the server. A detailed description of how to set up this archiving method is available in the article Archiving Email from Outlook, Thunderbird and others.

Once the dispersed inventory data has been stored in the MailStore archive, we recommend setting up central archiving profiles directly on the MailStore server for regularly archiving the user mailboxes. These are described below.

IMAP / POP3

Archiving individual mailboxes on any email server can be done using the IMAP or POP3 protocols. Information about setting up the archiving process is available in the article Archiving Server Mailboxes.

Microsoft Office 365

If you are using Microsoft Office 365, please follow the instructions in our article Microsoft Office 365.

Hosted Exchange

For archiving a Hosted Exchange mailbox, MailStore requires the access data for the email account made available by the provider. This includes user name (usually the email address), password as well as the (Exchange) server name.

Generally, the email application identifies the name of the Exchange server automatically using the autodiscover function (if supported by the service provider). This is why the server name is typically unknown to the user.

The server can be detected manually using the Exchange Proxy Settings in Microsoft Outlook. They can be found at Tools | Account Settings | Change| More Settings | Connection | Exchange Proxy Settings

He serversetting en.png

The setup of the archiving process for a Hosted Exchange mailbox is the same as the setup for a single Exchange mailbox on a local Exchange server. Additional information is available at Archiving Individual Exchange Server Mailboxes.

Archiving Multiple Mailboxes in One Step

Batch Archiving of IMAP Mailboxes

Instructions for setting up Batch Archiving Of IMAP Mailboxes using a CSV file are available in the corresponding article.

Microsoft Office 365

If you are using Microsoft Office 365 or Microsoft Exchange Online, please follow the instructions in our article Microsoft Office 365.

Hosted Exchange

If your Hosted Exchange service provider offers setting up a "service account", this account can be used to archive multiple mailboxes in MailStore Server centrally. A "service account" is a user account with extended access privileges to multiple Exchange mailboxes. Additional information as well as detailed instructions for setting the appropriate privileges is available in our Exchange implementation guides:

Archiving Incoming and Outgoing Emails Directly

To implement the archiving of all incoming and outgoing emails directly without using a local email server, several methods are available depending on which features are provided by you email service provider.

IMAP-Multidrop Mailbox

If your email service provider supports setting up and using an IMAP or POP3 multidrop mailbox, it can also be used to archive all incoming and outgoing emails in MailStore. Setup procedures are described in the article Archiving IMAP and POP3 Multidrop Mailboxes.

Microsoft Office 365

If you are using Microsoft Office 365, please follow the instructions in our article Microsoft Office 365.

Hosted Exchange

In order to archive all incoming and outgoing emails in a hosted Microsoft Exchange environment, it is required to set up journaling for all users or just a specific a distribution group of Exchange users. Please contact your hosting provider if this is possible. Information on how to archive emails from a journal mailbox can be found in our Exchange implementation guides:


MailStore Gateway

If none of the previous options are available and sending and receiving emails is done via SMTP/POP3, the free program MailStore Gateway can be used as it provides SMTP and POP3 proxy functionality. Technically, MailStore Gateway is placed between the local email clients (e.g. Thunderbird, Outlook, etc.) and the email server of the email service provider. Email clients are reconfigured to send and receive emails via MailStore Gateway, instead of the email service provider's server.

Please note: MailStore Gateway only supports encrypted connections to protect login information and the transferred email content. The inbound connection parameters (e.g. port, encryption type) are used for the outbound connection to the email service provider's server as well.

Setup MailStore Gateway

The following are general steps to setup MailStore Gateway for the SMTP/POP3 proxy archiving scenario. Please refer to the MailStore Gateway Manual for detailed instructions about:

  • Installation and setup
  • Logging on to the management console
  • Creating mailboxes

After these steps, a mailbox with a unique ID (i.e. mbx-dead1234beef5678) should exist.

Once a new MailStore Gateway mailbox has been created, the configuration of the email clients must be changed. On the SMTP Proxy and POP3 Proxy tabs in the MailStore Gateway Management Console, the generic client configuration is shown. The example below demonstrates which particular settings need to be modified, followed by instructions on how to configure them in well known email clients.

In environments with branch- or home offices, please note: Please keep in mind that all email clients have to be set up for using the MailStore proxy server. Because of this, the email clients in branch- or home offices have to be routed through the main office for sending or receiving emails. This can be done by using a VPN connection, for example.

Example

Email Service Provider Domain example.net
Local Domain example.com
MailStore Gateway Server Name gateway.example.com
Mailbox ID mbx-dead1234beefdead5678beef

SMTP Settings

Old Value New Value
Server Name smtp.example.net gateway.example.com
Port 587 587
Security STARTTLS STARTTLS
User Name john.doe john.doe%smtp.example.net%mbx-dead1234beefdead5678beef

POP3 Settings

Old Value New Value
Server Name pop.example.net gateway.example.com
Port 995 995
Security SSL/TLS SSL/TLS
User Name john.doe john.doe%pop.example.net%mbx-dead1234beefdead5678beef

Setup of Email Clients

Next, configure your email clients to use MailStore Gateway.

Mozilla Thunderbird:

  • In Mozilla Thunderbird, open the mailbox settings via Thunderbird Menu > Options > Account Settings.
  • Under Outgoing Mail Server (SMTP), select your current SMTP server and click on Edit.
    Client settings smtp.png
  • Change the Server Name to the host name or the IP address of the MailStore Gateway computer.
  • Adjust the User Name field to match the format remote_username%target_server%mailbox_id where
    • remote_username is the user name (e.g. john.doe) to login to a mailbox on target_server,
    • target_server is the host name of the email service provider's server (e.g. smtp.example.net),
    • mailbox_id is the unique identifier of the MailStore Gateway mailbox into which copies of the sent emails are to be stored,
    • % is the percent character that is used as separator between the parameters.
  • Click on OK to save the changes.
  • To change the POP3 server, click on Server Settings under the corresponding account.
    Client settings pop3.png
  • Change the Server Name to the host name or the IP address of the MailStore Gateway computer.
  • Adjust the user name to match the format remote_username%target_server%mailbox_id where
    • remote_username is the user name (e.g. john.doe) to login to a mailbox on target_server,
    • target_server is the host name of the email service provider's server (e.g. pop.example.net),
    • mailbox_id is the unique identifier of the MailStore Gateway mailbox into which copies of the received emails are to be stored,
    • % is the percent character that is used as separator between the parameters.
  • Click OK to save the settings.

Send a test email to verify the new settings. If they are correct, the email will be sent to the mailbox of the recipient and a copy is stored in the MailStore Gateway mailbox with the given ID.

Microsoft Outlook

  • Open the mailbox settings by clicking on File > Info > Account Settings > Manage Profiles > Email Accounts...
  • Select the appropriate account and click on Change.
    Client Settings Outlook.png
  • Change the SMTP server as well as the POP3 server being used and enter the host name or the IP address of the MailStore Gateway computer.
  • Adjust the user name to match the format remote_username%target_server%mailbox_id where
    • remote_username is the user name (e.g. john.doe) to login to a mailbox on target_server,
    • target_server is the host name of the email service provider's server (e.g. pop.example.net),
    • mailbox_id is the unique identifier of the MailStore Gateway mailbox into which copies of the received emails are to be stored,
    • % is the percent character that is used as separator between the parameters.
  • Click on More Settings ...
  • Open the tab Outgoing Server.
    Outlook08 client settings en.png
  • Check the box My outgoing server (SMTP) requires authentication.
  • Select the option Log on using.
  • Adjust the user name to match the format remote_username%target_server%mailbox_id where
    • remote_username is the user name (e.g. john.doe) to login to a mailbox on target_server,
    • target_server is the host name of the email service provider's server (e.g. smtp.example.net),
    • mailbox_id is the unique identifier of the MailStore Gateway mailbox into which copies of the sent emails are to be stored,
    • % is the percent character that is used as separator between the parameters.
  • Enter the password for the outgoing server.
  • Click OK.
  • Save the changes by clicking on Next > Finish.

Send a test email to verify the new settings. If they are correct, the email will be sent to the mailbox of the recipient and a copy is stored in the MailStore Gateway mailbox with the given ID.

Setup of MailStore

Setting up archiving processes for MailStore Gateway mailboxes is done using archiving profiles. General information about archiving profiles is available in chapter Working with Archiving Profiles.

Before configuring MailStore Server, please make sure that a MailStore Server user account exists for each user whose emails are to be archived with the MailStore Gateway. Please refer to chapter User Management for more information.

Important notice: It is imperative that, in user management under Properties, the email address is specified for each user. This is the only way to make sure that the emails in the archive are assigned to the appropriate users. If the POP3 user name does not match the user's email address, the user name has to be added separately.

Please proceed as follows:

  • Log on as MailStore Server administrator using MailStore Client.
  • In MailStore Server, click on Archive Email.
  • To create a new archiving profile, select MailStore Gateway Mailbox from the Email Server list in the Create Profile area of the application window.
  • A wizard opens that guides you through the setup process.

    Arch MailStore Gateway Client 01.png
  • Select E-mail Client and click OK.

    Please note: To be able to archive a MailStore Gateway mailbox, MailStore Server users along with their email addresses must exist in the MailStore Server user management. If this is not the case, MailStore Server will offer to set up and run the directory synchronization at this point. Once completed, the wizard will resume.
    Alternatively, you can cancel the wizard and create users manually as described the in chapter User Management.

  • Fill out the fields Host, Mailbox ID and Password. Click on Test to verify the data entered.

    If MailStore Gateway uses a TLS certificate from a certificate authority that is not trusted by the MailStore Server computer, the option Accept all certificates must be checked.

    Arch MailStore Gateway Client 02.png
  • Adjust any further settings such as how to handle emails with unknown addresses or asking MailStore Server to delete emails after they have been archived.

    Please note: If you are additionally archiving messages from the users mailboxes, you have to set the target folder names here to the folder names that match the names that were created by the user mailbox archiving profiles. Otherwise, additional or similar folders could be created in the users' archives. The folder names are case-sensitive.

  • If the option Synchronize with Directory Services before archiving is enabled, the MailStore Server user list will be synchronized with the configured directory service before the archiving process actually runs. This has the advantage that, for example, new employees will be created as MailStore Server users before archiving which enables MailStore Server to sort their emails into the correct archives.
  • Click on Next.
  • The timeout value only has to be adjusted on a case-by-case basis (e.g. with very slow servers or network connections).
  • Click on Next.
  • At the last step, select a name for the new archiving profile. After clicking on Finish, the archiving profile will be listed under Saved Profiles and can be run immediately or automatically, if desired.