User tools

Website tools


Definitions

This is an old version of the document!


Definitions

Semantic structure

Archive

Der Begriff „Archiv“ wird in der Dokumentation als Oberbegriffe für die archivierten und durchsuchbaren E-Mails benutzt. Er bezieht sich nicht auf einen speziellen Teil des Systems.

In der Konfiguration wird das Tag <archive /> aus Gründen der Rückwärtskompatibilität mitgeführt, wird aber nicht zur logischen Strukturierung einer Installation genommen.

Client / Container

The terms client and container can be used synonymously at an abstract level. The client refers to the customer and the logical unit, while the container represents a defined unit at a technical level.

Configuration structure

The file system structure of a Benno MailArchiv system in its standard configuration:

Inbox /srv/benno/inbox
Archive
container /srv/benno/archive
index /srv/benno/archive/index
Repository /srv/benno/archive/repo
box /srv/benno/archive/repo/<Jahreszahl>
journal /srv/benno/archive/repo/<Jahreszahl> /journal

Inbox

The Inbox is the generic import interface of Benno MailArchiv. It is implemented as a spool directory from which the archiving daemon imports the email files to be imported into the archive. In the default configuration ( /etc/benno/benno.xml ), the path /srv/benno/inbox is configured.

Wichtig ist hier, daß der Benutzer „benno“ und die Gruppe „benno“ auf diesen Pfad lesen und schreiben können. Die Dateien müssen "atomar" in der Inbox gespeichert werden.

Archive

The archive defines a logical context for archiving emails. An archive is associated with an inbox into which emails are delivered, for example, from a single mail server.

An archive contains one or more containers.

container

  • Contains 1 index of all boxes
  • can contain multiple boxes
  • Criteria for distributing emails into containers
    • domain
    • e-mail address
  • User access permissions at the container level
  • The directory is created automatically when the archiving daemon starts

Der Container definiert eine in sich abgeschlossene Archiv-Komponenten und einen Sicherheits-Kontext. Ein Container enthält archivierte E-Mails sowie einen Index über die Inhalte dieser E-Mails.

Der Zugriff bei der Suche oder dem Export erfolgt immer über die Angabe des Namens (<identifier />) des Containers. Bei der Authentisierung am Web-UI wird der Container mit dem Schlüsselwort ARCHIVE übermittelt.

Bei Import kann für den Container festgelegt werden, welche E-Mails (Sender / Empfänger Domains oder Adressen) im jeweiligen Container archiviert werden sollen.

Die Pfade für die Speicherung des Indexes sowie der archivierten E-Mails werden in der Konfigurationsdatei festgelegt.

index

  • Default: /srv/benno/archive/index
  • Lucene Index Files
  • The directory will be created automatically

Repository

  • Default: /srv/benno/archive/repo
  • Email storage location
  • The directory will be created automatically

The repository is a directory structure in which the emails are stored in a trie structure

The email files are saved in an extended .eml format .

box

  • Substructure for storing emails
    • Breakdown by time (usually per year)
  • Includes repository and journal
  • After the New Year, a box can, for example, be outsourced to slower and cheaper media

The box contains a repository (file storage) and a journal. A box can be deleted after, for example, 10 years. However, a re-index is then necessary.

journal

  • Log data with checksums of all archived emails from a mailbox
  • Chaining via checksum of all log files

The journal consists of linked log files that record the storage time and checksum of each email. The integrity of the emails can be verified using these checksums. Additionally, all log files are linked together via checksums.

begriffsbestimmungen.1545313919.txt.gz · Zuletzt geändert: 2018/12/20 13:51 von lwsystems