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

[unchecked revision][checked revision]
 
(128 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''Please note:''' This article only addresses archiving methods in an environment without 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 to archive emails from an email server, which 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 ==
 +
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.
  
== Why do I Need User Accounts in MailStore? ==
+
=== 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]].
  
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 [[Erste_Schritte#Anlegen_eines_neuen_Benutzers|manuellen Anlage neuer Benutzer]], MailStore Server provides several options for importing existing user data.
+
=== Generic LDAP Server Synchronization ===
 +
MailStore Server offers support for generic LDAP servers, which is described in detail in the article [[Generic LDAP Integration]].
  
== Active Directory Synchronization ==
+
=== 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]].
  
Within an Active Directory Domain Service environment, MailStore's internal user database can be synchronized with the active directory of your company,
+
== Archiving Individual Mailboxes ==
  
Innerhalb einer Active Directory Domänendienste Umgebung kann die interne Benutzerdatenbank von MailStore Server mit dem Active Directory Ihres Unternehmens abgeglichen werden. Eine Beschreibung der Funktion finden Sie im Artikel [[Active Directory-Integration]].
+
=== 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]].
  
== Generic LDAP Server Synchronization ==
+
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.
  
MailStore Server bietet Unterstützung für generische LDAP-Server, welche im Artikel [[Generische LDAP-Integration]] näher beschrieben wird.
+
=== 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]].
  
== Using a CSV File ==
+
=== Microsoft Office 365 ===
 +
If you are using Microsoft Office 365, please follow the instructions in our article [[Archiving_Emails_from_Microsoft_365_(Modern_Authentication)|Archiving Emails from Microsoft 365]].
  
In Verbindung mit der IMAP-Stapelarchivierung stellt die Verwendung einer CSV-Datei eine weitere Importmöglichkeit von Benutzerdaten dar. Weiterführende Informationen hierzu finden Sie im Artikel [[Stapelarchivierung_von_IMAP-Postf%C3%A4chern#Vorbereitung_.28Erstellung_einer_CSV-Datei.29|Stapelarchivierung von IMAP-Postfächern]].
+
=== 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.
  
= Archiving Individual Mailboxes =
+
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.
  
== Archiving Local Email Programs ==
+
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''
  
MailStore unterstützt die Archivierung aus lokal installierten E-Mail-Programmen wie beispielsweise Microsoft Outlook, Outlook Express oder Mozilla Thunderbird. Diese Archivierungsmethode findet vor allem bei der Übernahme historischer Daten Verwendung und wird in der Regel für jeden Benutzer nur einmal ausgeführt. Die in den lokalen Profilen der Benutzer befindlichen E-Mails werden hierdurch in das zentrale MailStore Archiv auf dem Server übernommen. Eine detaillierte Beschreibung zur Einrichtung finden Sie im Artikel [[E-Mails aus Outlook, Thunderbird u.a. archivieren]].
+
[[File:He_serversetting_en.png|600px|center]]
  
Wurden die verteilten Bestandsdaten der Benutzer einmalig in das MailStore Archiv übernommen, empfehlen wir für die regelmäßige Archivierung der Postfächer die Anlage zentraler Archivierungsprofile direkt auf dem MailStore Server. Diese werden im Folgenden näher beschrieben.
+
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].
  
== IMAP / POP3 ==
+
== Archiving Multiple Mailboxes in One Step ==
  
Die Archivierung einzelner Postfächer auf beliebigen E-Mail-Servern kann über die Protokolle IMAP oder POP3 erfolgen. Informationen zur Einrichtung der Archivierung finden Sie im Artikel [[Serverpostfächer archivieren]].
+
=== 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.
  
== Hosted Exchange ==
+
=== 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_365_(Modern_Authentication)|Archiving Emails from Microsoft 365]].
  
Zur Archivierung eines Hosted Exchange Postfachs benötigt MailStore die vom Provider zur Verfügung gestellten Zugangsdaten für das E-Mailkonto. Hierzu zählen neben dem Benutzernamen (i.d.R. die E-Mail Adresse) und dem Passwort auch der (Exchange-)Servername. In der Regel ermittelt das E-Mailprogramm Namen des Exchange Servers mithilfe der Autodiscoverfunktion automatisch (sofern dies vom Provider unterstützt wird), daher ist dieser dem Benutzer im Regelfall nicht bekannt. Um die benötigten Informationen zu ermitteln, gibt es verschiedene Ansätze, die im Folgenden näher beschrieben werden.
+
=== 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 your email service provider.
  
=== MailStore Exchange Autodiscover Tool ===
+
=== 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]].
  
Das kostenlose [[Media:ExchangeAutodiscover.zip|MailStore Exchange Autodiscover Tool]] stellt die komfortabelste Methode zur Ermittlung des Hosted Exchange Servernamens dar.  
+
=== Microsoft Office 365 ===
 +
If you are using Microsoft Office 365, please follow the instructions in our article [[Archiving_Emails_from_Microsoft_365_(Modern_Authentication)|Archiving Emails from Microsoft 365]].
  
Nachdem Sie das Tool [[Media:ExchangeAutodiscover.zip|heruntergeladen]], entpackt und gestartet haben, ermittelt es den Servernamen anhand des Benutzernamens und des Passwortes automatisch. Die so gewonnenen Informationen können nun direkt im Archivierungsprofil eingetragen werden.
+
=== 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}}
  
[[Datei:autodiscover.png|center]]
+
=== 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.
  
=== Manuelle Ermittlung der Zugangsdaten unter Microsoft Outlook ===
+
<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>
  
Über die ''Exchange-Proxyeinstellungen'' in Outlook lässt sich der angesprochene Server auch manuell ermitteln. Sie finden die Einstellungen unter ''Extras | Konteneinstellungen | Ändern | Weitere Einstellungen | Registerkarte Verbindung | Exchange-Proxyeinstellungen''
+
==== 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:
  
[[File:He_serversetting_de.png|600px|center]]
+
* Installation and setup
 +
* Logging on to the management console
 +
* Creating mailboxes
  
Die Einrichtung der Archivierung eines Hosted Exchange Postfachs entspricht der  eines einzelnen Exchangepostfachs auf einem lokalen Exchange Server. Informationen hierzu finden Sie im unter [[E-Mail-Archivierung_von_Microsoft_Exchange_2007#Archivierung_einzelner_Postf.C3.A4cher|Exchange Server Archivierung einzelner Postfächer]].
+
After these steps, a mailbox with a unique ID (i.e. mbx-dead1234beef5678) should exist.
  
= Archivierung mehrerer Postfächer in einem Schritt =
+
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.
  
== Stapelarchivierung von IMAP-Postfächern ==
+
<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 Gateway. 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>
  
Eine Anleitung zur Einrichtung der [[Stapelarchivierung von IMAP-Postfächern]] unter Verwendung einer CSV-Datei finden Sie im entsprechenden Artikel.
+
'''Example'''
 +
{|
 +
! Email Service Provider Domain
 +
| example.net
 +
|-
 +
! Local Domain
 +
| example.com
 +
|-
 +
! MailStore Gateway Server Name
 +
| gateway.example.com
 +
|-
 +
! Mailbox ID
 +
| mbx-dead1234beefdead5678beef
 +
|}
  
== Microsoft Hosted Exchange ==
+
'''SMTP Settings'''
  
Sofern Ihr Hosted Exchange Provider die Einrichtung eines "Service Accounts" anbietet, ist hierüber die zentrale Archivierung mehrerer Postfächer in MailStore Server möglich. Bei einem "Service Account" handelt es sich um ein Benutzerkonto mit erweiterten Berechtigungen für den Zugriff auf mehrere Exchange Postfächer. Weitere Informationen sowie eine detaillierte Anleitung zur Einrichtung der benötigten Berechtigungen finden Sie in den Artikeln zu [[E-Mail-Archivierung_von_Microsoft_Exchange_2007#Mehrere_Exchange-Postf.C3.A4cher_zentral_archivieren|Exchange Server 2007]] sowie zu [[E-Mail-Archivierung_von_Microsoft_Exchange_2010#Mehrere_Exchange-Postf.C3.A4cher_zentral_archivieren|Exchange Server 2010]]
+
{| 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
 +
|}
  
= E-Mails direkt bei Ein- und Ausgang archivieren =
+
'''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
 +
|}
  
Zur Realisierung einer Archivierung sämtlicher ein- und ausgehender E-Mails ohne die Verwendung eines lokalen E-Mail Server stehen Ihnen in Abhängigkeit der unterstützten Protokolle Ihres E-Mail Providers verschiedene Methoden zur Verfügung.
+
==== Setup of Email Clients ====
 
+
Next, configure your email clients to use MailStore Gateway.
== MailStore Proxy ==
 
 
 
Wenn Sie Ihre E-Mails per POP3 / SMTP empfangen bzw. versenden, steht Ihnen das kostenfreie Programm MailStore Proxy zur Verfügung.
 
 
 
In der Regel wird der Proxy Server zwischen dem lokalen E-Mail Client (bsp. Thunderbird, Outlook, etc.) und dem E-Mail Server des Providers positioniert.
 
 
 
=== Einrichtung des MailStore Proxy ===  
 
 
 
Gehen Sie zur Einrichtung des MailStore Proxy wie folgt vor:
 
 
 
Installieren Sie den MailStore Proxy-Server auf einem Rechner, der über eine Verbindung mit dem Internet verfügt. Dies kann der selbe Rechner sein, auf dem auch der MailStore Server installiert ist, ist dies jedoch keine Voraussetzung für die Einrichtung.
 
Rufen Sie anschließend die Verwaltungsoberfläche über den MailStore Proxy Admin auf und richten Sie für die eingehende (POP3) und ausgehende (SMTP) Verbindung jeweils einen Server ein (Tipp: Wenn Sie Ihre E-Mails bei verschiedenen E-Mail Servern abrufen verwenden, können Sie bei Bedarf weitere Proxy-Server zur Konfiguration hinzufügen).
 
 
 
: [[Image:Proxy_server_settings_smtp_de.png|600px|center]]
 
 
 
* Vergeben Sie für den lokalen SMTP-Server einen aussagekräftigen Namen
 
* Wählen Sie unter ''Eingehend'' die IP-Adresse aus, auf welcher der Proxy-Server Verbindungen im lokalen Netzwerk annehmen soll (Standard: ''Alle IP-Adressen'')
 
* Tragen Sie den verwendeten Port ein (Standard: 25)<br/>'''Hinweis:''' Sollte auf dem Rechner, auf dem der MailStore Proxy-Server läuft, bereits ein Programm installiert sein, welches den Port 25 abhört, so muss für den MailStore Proxy ein alternativer Port (bsp. 26) verwendet werden. Bitte beachten Sie, dass diese Einstellung bei der Einrichtung der E-Mail-Clients ebenfalls berücksichtigt werden muss.
 
* Geben Sie unter ''Ziel-Server'' die SMTP-Server Adresse Ihres Providers ein
 
* Tragen Sie den verwendeten Port (Standard: 25) ein
 
* Falls die Verbindung zum Zielserver verschlüsselt werden soll, wählen Sie unter Verschlüsselung den Verschlüsselungstyp. Ob die Verbindung zum Zielserver verschlüsselt wird, ist völlig unabhängig davon, ob die Verbindung zum MailStore Proxy verschlüsselt ist.<br/>'''Hinweis:''' Beachten Sie, dass beim Verschlüsselungstyp SSL die Verbindungen in der Regel nicht über den Port 25 sondern über Port 465 stattfinden. Ändern Sie ggf. den Wert für das Feld Port hinter Ziel-Server entsprechend ab.
 
* Erfordert der im Feld Ziel-Server eingetragene SMTP-Server eine Authentifizierung, können Sie in den Feldern Benutzername und Kennwort Zugangsdaten festlegen. Diese werden dann für die Verbindung zum Ziel-Server verwendet. Somit ist es z.B. nicht erforderlich, diese Zugangsdaten auf den Arbeitsstationen zu hinterlegen.
 
 
 
Nachdem Sie die SMTP-Server Verbindung konfiguriert haben, wechseln Sie auf den Reiter ''POP3 Proxy Server'', um diesen ebenfalls zu konfigurieren
 
 
 
: [[Image:Proxy_server_settings_pop3_de.png|550px|center]]
 
 
 
* Vergeben Sie für den lokalen POP3-Server einen aussagekräftigen Namen
 
* Wählen Sie unter ''Eingehend'' die IP-Adresse aus, auf welcher der Proxy-Server Verbindungen im lokalen Netzwerk annehmen soll (Standard: ''Alle IP-Adressen'')
 
* Tragen Sie den verwendeten Port ein (Standard: 110)<br/>'''Hinweis:''' Sollte auf dem Rechner, auf dem der MailStore Proxy-Server läuft, bereits ein Programm installiert sein, welches den Port 110 abhört, so muss für den MailStore Proxy ein alternativer Port (bsp. 111) verwendet werden. Bitte beachten Sie, dass diese Einstellung bei der Einrichtung der E-Mail-Clients ebenfalls berücksichtigt werden muss.
 
* Geben Sie unter ''Ziel-Server'' die POP3-Server Adresse Ihres Providers ein
 
* Tragen Sie den verwendeten Port ein(Standard: 110)
 
* Falls die Verbindung zum Zielserver verschlüsselt werden soll, wählen Sie unter Verschlüsselung den Verschlüsselungstyp. Ob die Verbindung zum Zielserver verschlüsselt wird, ist völlig unabhängig davon, ob die Verbindung zum MailStore Proxy verschlüsselt ist.<br/>'''Hinweis: '''achten Sie, dass beim Verschlüsselungstyp SSL die Verbindungen in der Regel nicht über den Port 110 sondern über Port 995 stattfinden. Ändern Sie ggf. den Wert für das Feld Port unter Ziel-Server entsprechend ab.
 
 
 
Nachdem Sie alle notwendigen Einstellungen vorgenommen haben, muss der MailStore Proxy-Server Dienst einmal neu gestartet werden. Anschließend können Sie das Konfigurationsprogramm schließen.
 
 
 
=== Einrichtung des verwendeten E-Mail-Clients ===
 
 
 
Im nächsten Schritt konfigurieren Sie Ihre E-Mail-Clients für die Verwendung des MailStore Proxy (nachfolgend beschrieben unter Verwendung von Mozilla Thunderbird und Outlook 2007).
 
  
 
'''Mozilla Thunderbird:'''
 
'''Mozilla Thunderbird:'''
  
* Öffnen Sie in Mozilla Thunderbird die Postfacheinstellungen über ''Extras | Konteneinstellungen''
+
* In Mozilla Thunderbird, open the mailbox settings via ''Thunderbird Menu > Options > Account Settings''.
* Wählen Sie unter ''Postausgangs-Server (SMTP)'' Ihren aktuell verwendeten SMTP-Server aus und klicken Sie auf ''Bearbeiten''
+
* Under ''Outgoing Mail Server (SMTP)'', select your current SMTP server and click on ''Edit''.
 
+
*: [[File:Client_settings_smtp.png|350px|center]]
: [[File:Thunderbird_client_settings_smtp_de.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
 +
** ''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.
 +
*: [[File:Client_settings_pop3.png|350px|center]]
 +
* 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.
  
* Ändern Sie den verwendeten SMTP-Server und tragen Sie dort den DNS-Namen oder die IP-Adresse des MailStore Proxy ein
+
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.
* Übernehmen Sie die Änderungen mit ''OK''
 
* Klicken Sie nun zur Änderung des POP3-Servers auf ''Server-Einstellungen''
 
 
 
: [[File:Thunderbird_client_settings_pop3_de.png|600px|center]]
 
 
 
* Ändern Sie den verwendeten POP3-Server und tragen Sie dort ebenfalls den DNS-Namen oder die IP-Adresse des MailStore Proxy ein.
 
* Speichern Sie die Einstellungen
 
 
 
Um die geänderten Einstellungen zu überprüfen, versenden Sie eine Testnachricht. Wenn alle Einstellungen korrekt sind, wird die E-Mail im Postfach des Empfängers zugestellt. Hierneben finden Sie im ''Ausgabeverzeichnis'' eine Kopie der E-Mail-Nachricht als *.eml Datei sowie eine Reportdatei mit der Bezeichnung *.mpr.
 
  
 
'''Microsoft Outlook'''
 
'''Microsoft Outlook'''
  
* Öffnen Sie die Postfacheinstellungen<br/>'''Outlook 2007:''' Klicken Sie im Menüpunkt ''Extras | Kontoeinstellungen''<br/>'''Outlook 2010:''' Klicken Sie auf der Ribbon Bar auf ''Datei'' und anschließend unter dem Menüpunkt ''Informationen'' auf ''Kontoeinstellungen | Kontoeinstellungen''
+
* Open the mailbox settings by clicking on ''File > Info > Account Settings > Manage Profiles > Email Accounts...''
* Wählen Sie das gewünschte Konto aus und klicken Sie auf ''Ändern''
+
* Select the appropriate account and click on ''Change''.
 
+
*: [[File:Client_Settings_Outlook.png|350px|center]]
: [[File:Outlook07_client_settings_de.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
* Ändern Sie den verwendeten SMTP-Server sowie den verwendeten POP3-Server und tragen Sie dort den DNS-Namen oder die IP-Adresse des MailStore Proxy ein
+
** ''remote_username'' is the user name (e.g. john.doe) to login to a mailbox on ''target_server'',
* Übernehmen Sie die Änderungen durch klicken auf ''Weiter | Fertig stellen''  
+
** ''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,
Um die geänderten Einstellungen zu überprüfen, versenden Sie eine Testnachricht. Wenn alle Einstellungen korrekt sind, wird die E-Mail im Postfach des Empfängers zugestellt. Hierneben finden Sie im ''Ausgabeverzeichnis'' eine Kopie der E-Mail-Nachricht als *.eml Datei sowie eine Reportdatei mit der Bezeichnung *.mpr.
+
** ''%'' is the percent character that is used as separator between the parameters.
 
+
* Click on ''More Settings ...''
'''Hinweis für Umgebungen mit Filialbetrieb oder Home-Office:''' Bitte beachten Sie, dass sämtliche E-Mail-Clients für die Verwendung des MailStore Proxy-Servers eingerichtet werden müssen. Daher müssen auch die E-Mail-Clients in den Zweigstellen oder im Home-Office für den E-Mailversand bzw. -empfang über die Zentrale geroutet werden. Dies kann beispielsweise unter Verwendung einer VPN-Verbindung geschehen.
+
* Open the tab ''Outgoing Server''.
 +
*: [[File:Outlook08_client_settings_en.png|350px|center]]
 +
* 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''.
  
== IMAP-Sammelpostfach ==
+
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.
  
Sofern Ihr E-Mailprovider die Einrichtung und Verwendung eines IMAP- oder POP3-Sammelpostfachs unterstützt, kann hiermit ebenfalls eine Archivierung aller ein- und ausgehenden E-Mails in MailStore realisiert werden (alternativ zur Verwendung des MailStore Proxy-Servers). Die Einrichtung finden Sie im entsprechenden Artikel [[IMAP- und POP3-Sammelpostfächer archivieren]] beschrieben.
+
==== Setup of MailStore ====
 +
{{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]]}}
  
= Weblinks =
+
[[de:E-Mail-Archivierung_ohne_eigenen_E-Mail-Server]]
* [http://www.mailstore.com/de/support.aspx MailStore Support]
+
[[en:Archiving_Emails_Without_Your_Own_Emailserver]]

Latest revision as of 09:32, 8 May 2023

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 Archiving Emails from Microsoft 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 Archiving Emails from Microsoft 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 your 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 Archiving Emails from Microsoft 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 Gateway. 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.