15.8. Archiving

15.8.1. Interface

The archiving interface of the Intra2net system can be configured under Services > Email > Archiving. The interface can be used to process emails in various formats and thus be configured to match whichever archiving software used. The different archiving methods are as follows:

Email copy toA copy of every email is sent to this address. The original recipients of the email are listed in the headline X-Envelope-To.
Single files (BSMTP format)Each email is written to a single file in BSMTP format. The BSMTP format is described in RFC 2442. Only one email is stored in each file, multiple recipients are specified in single RCPT-TO lines.
Single files (EML/RFC822 format)The content (header and body) of each email is written to a single file. This is usually called EML format and was initially described in RFC 822. Only one email is stored in each file, and a separate file is created for each recipient. The sender is stored in the headline X-Envelope-From, and the recipient in the headline X-Envelope-To.
MailStore ProxyIndividual emails are stored in files compatible with the MailStore Proxy format. This allows the Intra2net system to be connected to a MailStore server like a MailStore Proxy. For installation instructions, please refer to Section 15.8.2, „Connecting the MailStore Server“.

If the spam filter is active on the Intra2net system, emails detected as spam can be excluded from archiving. Select a threshold value from which emails should not be archived. We recommend using a value of 8. For further details on spam thresholds, see Section 15.7.1.2, „Flagging“

If you have selected an archiving mode that stores files, you can access them using a Windows share. You must select a login and password for this share. The archiving interface only provides complete files. The interface ensures that no incomplete or partially written files are visible or accessible.

[Caution]Caution

The archiving software is responsible for ensuring that emails are deleted from the interface immediately after archiving. The interface share is not designed to permanently store email files and can block email transfer if the files are not retrieved regularly.

15.8.2. Connecting the MailStore Server

The MailStore Server is connected via the MailStore Proxy interface on the Intra2net system. Each email sent through the Intra2net system is duplicated and stored in a special format on the archive interface. MailStore Server will then regularly retrieve the files from the interface and add them to the archive.

Unlike the other archiving methods of MailStore Server (such as IMAP mailbox or Exchange Server), this ensures that all emails are archived. It is impossible for a user, an incorrectly configured sort rule, or bug to delete emails before they are archived.

Follow these steps for installation:

  1. Install MailStore Server as described in the manufacturer's manual: http://de.help.mailstore.com/.

  2. Set the archiving mode of the Intra2net system to MailStore Proxy under Services > Email > Archiving, and enter the login details for the share path.

  3. On the computer with MailStore Server, open Windows Task Scheduler from Windows Administration.

  4. Create a new task. Allow the task to be executed with the SYSTEM user account and with the highest privileges.

  5. Add a new trigger for the task. Let the task start on an event and select Microsoft-Windows-NetworkProfile/Operational. The source is NetworkProfile and as the event ID enter 10000. This will start the task as soon as the network is operational.

  6. Add a new action. Let the program net start and provide the parameters M: \\intra.net.lan\mailarchive /u:intra.net.lan\user password. Use the name of your Intra2net system and the login details you have chosen instead of "user" and "password". If the drive letter M: is already assigned elsewhere on your computer, please select a different one. Note the space between M: and \\intra.net.lan....

  7. Save the new task and restart the computer with MailStore Server.

  8. Check that the network drive M: was connected correctly after system startup. Note that only the Windows system user has access to the network drive. All other users are denied access or see a unconnected network drive. If you see this, the connection works correctly. If no network drive should be displayed at all, there is an error.

  9. Open MailStore Client, log in with administrator rights and open the Management menu.

  10. Use the New button to make every user of your system available to MailStore Server. It is particularly important that all email addresses including aliases and user redirects are entered in the Email addresses field.

  11. Open the Email archive menu and configure a new MailStore Proxy archiving profile.

  12. Select the newly connected drive letter as the directory and delete the report files, if the archiving was successful (important!).

  13. Run the profile in the background automatically.

  14. Allow the profile to run every 60 seconds and save the profile.