Batch-archiving IMAP Mailboxes

This chapter describes how multiple IMAP mailboxes can be archived in one step.

Important

This article describes the general procedure independent from the e-mail server used. Please find e-mail server specific information in our Implementation Guides.

Multiple IMAP Mailboxes (Master Password)

MailStore supports archiving multiple IMAP mailboxes by means of a privileged user and the procedure to log in to an IMAP server as specified in RFC 4616 - The PLAIN SASL Mechanism. In addition to the privileged user’s user name and password, the primary email address (as mailbox name) of the user whose emails are to be archived is passed on in the process as well.

You can learn from your email server’s manufacturer if your email server supports this type of login and what the prerequisites are.

Setting up the Archiving Process

Archiving processes for IMAP or POP3 mailboxes are set up using archiving profiles. General information about archiving profiles is available in chapter Working with Archiving Profiles.

Please proceed as follows:

  • Log on as MailStore administrator using MailStore Client.
  • In MailStore, click on Archive Email.
  • From the list of email servers under Create Profile, select Other Server via IMAP/POP3.
  • A wizard opens to assist in specifying the archiving settings.

Hint: The Online Help gives you direct access to the respective Implementation Guides.

  • Select Multiple IMAP Mailboxes (Master Password) and click on OK.

 

  • Fill out the fields Host and Access via and enter the login data of the privileged user under User Name and Password.

Only with IMAP-TLS and IMAP-SSL: If you are using an unofficial certificate on the email server, select the option to Ignore SSL Security Warnings .

  • In the Sent Items field you can enter the name of the folder containing sent emails.
  • Click on Next.

 

  • If needed, customize the list of folders to be archived, the deletion rules, the filters, the timeout value in seconds and the maximum number of archiving jobs to be executed simultaneously. The timeout value only has to be adjusted if needed (e.g. when using a very slow server).
  • Click on Next.

 

  • Now you can choose the users whose mailboxes are to be archived. The following options are available:

All users with a configured email address

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

All users except the following

With this feature, individual users (and their Exchange mailboxes) can be excluded from the archiving process using the list of users below.

Only the following users

With this feature, individual users (and their Exchange mailboxes) can be included in the archiving process using the list of users below. Only the mailboxes of users explicitly specified are archived.

Synchronize with directory services before archiving

If this option is activated, the list of MailStore users is synchronized with the configured directory service before each archiving process. This has the advantage that a new coworker, for example, is set up as MailStore user automatically so that MailStore archives his or her mailbox automatically as well. This option is especially recommended if mailboxes are archived regularly according to a schedule.

  • Finally, you can choose a name for the archiving profile. When you click on Finish, the archiving profile is listed under Saved Profiles and can be executed, if desired.

Multiple IMAP Mailboxes (CSV File)

Archiving multiple IMAP mailboxes based on a CSV file is described below. Use this procedure if your IMAP server does not support any of the authentication methods described under Multiple IMAP Mailboxes (Master Password)

Preparation: Creating a CSV File

In order to set up batch archiving of multiple IMAP mailboxes, first, a CSV file needs to be created. For this, a Microsoft Excel spreadsheet can be used, for example:

 

Set up the columns as shown above. Please keep in mind that the headings (e.g."IMAP user name") must be in place but their notation may differ. Beneath the headings, enter a row for each mailbox to be archived:

IMAP user name and IMAP password
These entries are mandatory for MailStore to be able to access the mailbox.

Email address (optional)
If entered, MailStore will label the folder for the respective mailbox in the tree structure of the archive with the email address specified.

MailStore user name (optional)
If entered, MailStore will archive the respective mailbox for each MailStore user specified (store the emails in the appropriate user archive). If the user does not yet exist, a user will be created automatically. If this field is left blank, a new MailStore user is created automatically and labeled with the IMAP user name specified.

This way, any number of mailboxes of an email server may be entered. When finished, save the file in .csv format (if Microsoft Excel is used via the Save As function).

Setting Up the Archiving Process

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

Please proceed as follows:

  • Log on as MailStore administrator using MailStore Client.
  • In MailStore, click on Archive Email.
  • To create a new archiving profile, select Other Server via IMAP/POP3 from the Email Servers list in Create Profile area of the application window.
  • A wizard opens guiding you through the setup process.

  • Select Multiple Mailboxes (CSV File) and click on OK.
  • Fill out the fields Host and Access via, and under CSV File enter the path of the new CSV file (created as described above). This file contains the access information for the mailboxes to be archived. Under Special Folder (optional) you may enter the name of the IMAP folder containing sent messages.

For the IMAP-TLS and IMAP-SSL protocols only: You have the option to Ignore SSL Security Warnings. Generally, these warnings appear if an unofficial certificate is used on the server.

 

  • Click on Next.
  • If needed, adjust the list of folders to be archived, the deletion rules, the filter, the timeout value in seconds and the maximum number of archiving jobs to be executed simultaneously. The timeout value only has to be adjusted if needed (e.g. when using a very slow server).

 

  • Click on Next.
  • At the last step, a name for the new archiving profile can be specified. After clicking on Finish, the archiving profile will be listed under Saved Settings (Profiles) and can be run immediately, if desired.

Starting the Archiving Process

Starting the Archiving Process Manually

On the start page of MailStore Client, click on Archive Email and from the list under Saved Profiles, select the appropriate archiving profile. Click on Run. After the archiving process has been executed, a protocol appears. It contains information about the volume of emails that have been archived as well as any errors that may have occurred.

This process can be repeated by the user any number of times. MailStore only archives those emails that are not yet stored in the corresponding user archive. In addition, MailStore detects if emails within the source application (e.g. Microsoft Outlook) were moved to a different folder and repeats such moves in MailStore accordingly.

Automating the Archiving Process

In addition to being executed manually, archiving tasks can also be executed automatically according to a schedule. Simply right-click on an existing profile and select Schedule.... Additional information about this topic is available in chapter Automating the Archiving Process.

Please note: As long as no deletion rules were specified upon creating the archiving profile, MailStore Server will never delete or otherwise modify emails in the source application (e.g. Microsoft Outlook).

 

Attached Files
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Name
Email
Security Code Security Code
Related Articles RSS Feed
Choosing the Right Storage Strategy
Viewed 2753 times since Fri, Jan 3, 2014
MailStore Outlook Add-in Deployment
Viewed 27319 times since Fri, Jan 10, 2014
Archiving Email from Outlook, Thunderbird and others
Viewed 3108 times since Tue, Jan 14, 2014
Bulk Import of Email Files
Viewed 3651 times since Mon, Jan 6, 2014
Using Advanced Archive Stores
Viewed 13383 times since Tue, Dec 31, 2013
Archiving Outlook PST Files Directly
Viewed 2700 times since Fri, Jan 3, 2014
MailStore Client Deployment
Viewed 8024 times since Thu, Dec 19, 2013
Moving the Archive
Viewed 2681 times since Wed, Jan 1, 2014
Archiving Emails from External Systems (File Import)
Viewed 2888 times since Sun, Dec 22, 2013
Deploying a Self-signed SSL Certificate
Viewed 2391 times since Fri, Jan 10, 2014
MENU