Archiving Emails from Scalix

Jump to: navigation, search

This implementation guide covers the specifics of archiving Scalix Server mailboxes. It is assumed that you already have a MailStore Server installation or test installation and are familiar with the fundamentals of MailStore Server. Please refer to the Manual or the Quick Start Guide for more information.

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


Synchronizing Users

Scalix comes with an integrated OpenLDAP directory server, but may also use other LDAP directory services to manage and authenticate users. As MailStore Server also supports Active Directory and other LDAP directory services (e.g. OpenLDAP), it is recommended to set up synchronization in MailStore as well. Additional information on synchronizing users can be found in the corresponding chapters of the MailStore Server manual:

Note: When batch-archiving IMAP mailboxes MailStore Server automatically creates non-existing users. The authentication type of those users will be set to MailStore-integrated.

Archiving Individual Mailboxes

In MailStore Server Scalix archiving tasks are stored in archiving profiles. By following the procedure described here you can archive a single Scalix mailbox for a specific MailStore user. The archiving process can be executed manually or automatically. You can find further information about executing archiving profiles in chapter Email Archiving with MailStore Basics.


  • Users can only archive their own mailboxes to their personal user archive. To archive the emails of other users, you have to be logged on to MailStore Client as MailStore administrator. Only MailStore administrators can archive the emails of other users.
  • In MailStore, click on Archive Email.
  • To create a new archiving profile, select Other Server via IMAP/POP3 from the Email Servers list in the Create Profile area of the application window.
  • A wizard opens guiding you through the setup process.
    Arch mailboxes 00.png
  • Select Single Mailbox and click on OK.
  • Fill out the fields Email Address, Host, Access via, User Name and Password. Click on Test to verify the data entered.
    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.
    Arch mailboxes 01.png
  • Click on Next.
  • Customize the list of folders to be archived (IMAP only), the filter (IMAP only) and the deletion rules. By default, no emails will be deleted from a mailbox. The timeout value only has to be adjusted as needed (e.g. with very slow servers).
    Arch mailboxes 02.png
  • Click on Next.
  • If logged on to MailStore Server as administrator, the target archive can be specified at the next step. Select the archive of the user for whom the mailbox is to be archived.
    Arch mailboxes 03.png
  • 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 Profiles and can be run immediately, if desired.


Archiving Multiple Mailboxes in One Step

When archiving multiple mailboxes, Scalix works the same as any other email server. Please refer to the corresponding chapter Batch Archiving of IMAP Mailboxes in the MailStore manual.


Archiving Incoming and Outgoing Emails Directly

Scalix offers an easy way to deliver copies of all emails passing through the Scalix server to another mailbox. With MailStore Server you can archive this Scalix mailbox by using an archiving task of type Archiving IMAP and POP3 Multidrop Mailboxes.

Important notice: Since Scalix 11.1, the Scalix Archiver feature is only available to users of the Business and Enterprise editions.

Step 1: Customize the Scalix Configuration

To enable the feature described above, use any text editor to open the file general.cfg from your Scalix installation. The default path of the file is /var/opt/<nodename>/sys.

Now set the variable ARCHIVE to the email address of the mailbox you will archive with MailStore Server. Prepend bcc: to the email address as required by Scalix. For example:

 ARCHIVE=bcc:mailstore@mydomain.tld

Step 2: Restart the Scalix Archiver Service

To activate the configuration changes, restart the Scalix Archiver service by executing the following commands:

 omoff -d0 archiver sr
 omon archiver sr

Step 3: Configuration of MailStore Server

Setting up archiving processes for multidrop 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 Server list in the Create Profile area of the application window.
  • A wizard opens guiding you through the setup process.
    Arch imap catch 01.png
  • Select Multidrop Mailbox and click OK.
  • Fill out the fields Access via, Host, Username and Password. Click on Test to verify the data entered.
    For the TLS and SSL protocols only: You have the option to ignore SSL warnings. Generally, these warnings appear if an unofficial certificate is used on the server.
    Arch imap catch 02.png
  • Adjust any further settings such as how to handle emails with unknown addresses or asking MailStore to delete emails after they have been archived. The latter option is especially sensible when dealing with mailboxes that are exclusively used for archiving.
  • Click on Next.
  • The timeout value only has to be adjusted on a case-by-case basis (e.g. with very slow servers).
  • 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.


Weblinks

Navigation
Tools
About MailStore

  • MailStore Server is one of the leading email archiving solutions for SMB.
  • For private use there is a free tool for email archiving furthermore: MailStore Home.