This is an old version of the document!
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, dient aber nicht zur logischen Strukturierung einer Installation.
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.
The file system structure of a Benno MailArchiv system in its standard configuration:
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.
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.
The container defines a self-contained archive component. A container holds archived emails and an index of the contents of those emails.
Der Zugriff bei der Suche oder dem Export erfolgt immer über die Angabe des Namens (<identifier />) des Containers. Der Identifier des Containers darf die folgenden ASCII-Zeichen enthalten.
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.
/srv/benno/archive/index/srv/benno/archive/repoThe 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 .
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.
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.