15.1 Archiving
Prev | Chapter 15 Email archiving and backup | Next

## 15.1 Archiving

Kerio MailServer can store copies of all messages (or only messages sent to the Internet) in special archiving folders or re-send them to another SMTP server. This makes it possible to keep archived email for a situation where it would be necessary to look up a particular message or deleted messages (these can be reused by using so called email recovery which can be set in the domain settings — for details, see chapter 7.4 Restoring deleted items).

To configure backups, go to the Archiving tab under Configuration → Archiving & Backup:

Figure 15.1. Archiving tab

Enable mail archiving

  This option enables/disables mail archiving. If archiving is enabled and appropriate parameters are set on the Archiving tab, an archive folder with a name derived of the interval in which folders are created (daily, weekly, monthly) is created when the first message is delivered. The interval also can be set on the tab.

  Anytime Kerio MailServer is restarted, a new archive folder is created (upon receiving the first message). Then, the archiving cycle follows settings defined on the Archiving section.

Path to the archive directory

  The full path to the archive directory (in accordance with conventions of the operating system on which Kerio MailServer is running). By technical reasons, it is necessary to locate the archiving directory locally (i.e. on the server where Kerio MailServer is running).

  ### Warning

  UNC path is not allowed as path specification.

Archive to remote address

  Email will be re-sent to this remote email address.

Archive to local folder

  Copies of email messages will be stored in local folders, created automatically in the name space #archive (on the disk, it appears in the `mail/archive` folder in the directory where Kerio MailServer is installed) according to a defined format.

Interval used for creating...

  A suitable interval for creating archive folders can be set in this option. The names of the archive folders reflect the interval settings:

  `2005-Jan` — a monthly archive format. The name contains the year and month during which the messages were archived. Every thirty days, a new folder is created (upon reception of the first message after the server's midnight time).

  `2005-W03` — a weekly archive format. The name includes year and week number. The week number count starts on January 1 of the particular year. This implies that the count does not necessarily match with the usual calendar week count (if January 1 is included in the 52nd week, the week counts may collide). Every seven days, a new folder is created (upon reception of the first message after the server's midnight time).

  `2005-Jan-12` — a daily archive format. The name contains the year, day and month during which the messages were archived. Every day, a new folder is created (upon reception of the first message after the server's midnight time).

  ### Note

  The interval for creating new archiving folders (implied from the name format) is up to the Kerio MailServer administrator. We recommend bearing in mind the number of messages passing through the MailServer (or the number of local users). A greater number of folders containing smaller numbers of messages are faster to access and easier to comprehend.

Compress old archive folders

  Use this option to compress the archive except for the current folder (the last folder created). However, it is not possible to browse through the compressed folders via email clients.

  The first compression of the archive folder is performed upon Kerio MailServer's startup. Each 24 hours since creation of a new folder, a new compression is performed.

Local messages (local sender, local recipient)

  All local messages (messages sent from the local domain) will be archived.

Incoming messages (remote sender, local recipient)

  All incoming messages will be archived (from remote senders to local recipients).

Outgoing messages (local sender, remote recipient)

  All outgoing messages will be archived (from local senders to remote recipients).

Relayed messages (remote sender, remote recipient)

  All messages forwarded to a relay server will be archived (from remote senders to remote recipients).

Archive messages before...

  This option enables archiving of all messages before the antivirus check is started. All messages will be stored intact (including viruses) in these files.

By default, archive folders are available to the `admin` of the primary domain (see chapter 8.1 Administrator account). The `Admin` can also assign access rights to archive folders for other users. This may be done in Kerio WebMail (refer to the Kerio WebMail user guide) or in MS Outlook supported by the Kerio Outlook Connector. However, since messages of all users are archived, only a confidential administrator (or a tiny group of confidential persons) should be allowed to access these folders.

### Viewing of archive folders

These folders are available to users with corresponding rights only. By default, only the `admin` of the primary domain is allowed to access the folders (the first account created in the configuration wizard during the installation of Kerio MailServer).

Figure 15.2. Archive folders in the Kerio WebMail interface

Archive folders can also be made available for other users. The sharing is the same as for other folder types. However, since messages of all users are archived, only a confidential administrator (or a tiny group of confidential persons) should be allowed to access these folders.

Prev | Up | Next
Chapter 15 Email archiving and backup | Contents | 15.2 Back-up of user mailboxes and basic server configuration