User tools

Website tools


error emails

Differences

The differences between two versions are shown here.

Link to this comparison view

Next revision
Previous revision
error-mails [2016/11/08 08:49] – Externe Bearbeitung 127.0.0.1error-mails [2026/02/27 10:35] (current) – [Löschverhalten nach Import] lwsystems
Line 1: Line 1:
- 
 ====== Verarbeitung der E-Mails beim Import ====== ====== Verarbeitung der E-Mails beim Import ======
  
Line 6: Zeile 5:
  
 Die E-Mail wird jetzt im Repository-Verzeichnis unterhalb von ''/srv/benno/archive/boxname'' gespeichert. Der Boxname ist in der Standard-Installation jeweils das aktuelle Jahr. Die E-Mail wird jetzt im Repository-Verzeichnis unterhalb von ''/srv/benno/archive/boxname'' gespeichert. Der Boxname ist in der Standard-Installation jeweils das aktuelle Jahr.
 +
 +Once the email has been successfully saved to the repository, it will be deleted from the Inbox directory.
  
 ====== Verarbeitungsfehler ====== ====== Verarbeitungsfehler ======
Zeile 21: Zeile 22:
 Starting with Benno MailArchiv version 2.1.6, faulty emails can be directly re-imported by simply moving them back into the inbox directory. During the import process, the archiver checks whether the checksum already exists in the repository. If so, the corresponding entry in the index is replaced with the newly imported data. Starting with Benno MailArchiv version 2.1.6, faulty emails can be directly re-imported by simply moving them back into the inbox directory. During the import process, the archiver checks whether the checksum already exists in the repository. If so, the corresponding entry in the index is replaced with the newly imported data.
  
 +If the file extension is renamed to .eml, the emails will be imported again.
 +
 +====== Löschverhalten nach Import ======
 +
 +For testing or other special cases, the import behavior can be adjusted so that the email files are not deleted, or only deleted after successful archiving from the Inbox directory.
 +
 +Dieser Modus wird mit Hilfe des Kommandozeilenschalters //''-d <modus>''// bzw. //''%%--delete <modus>%%''// des Benno Archive Daemons aktiviert.
 +
 +^ Modus ^ Beschreibung                                                     ^ Verhalten bei Erfolg                    ^ Verhalten bei Fehlern                                 ^
 +| ALL | Standardmodus. Löscht alles, was erfolgreich „erledigt“ wurde.     | Datei wird gelöscht.                    | Datei bleibt als .prc liegen (wird nicht mehr verarbeitet). |
 +| ASSIGNED  | Löscht nur tatsächlich archivierte Mails.                          | Datei wird gelöscht.                    | Datei wird in .kep umbenannt.                              |
 +| NEVER | Es werden niemals Dateien gelöscht.                                | Datei wird in .kep umbenannt.           | Datei wird in .kep umbenannt.                              |
 +
 +Note regarding errors: Regardless of the selected mode, files that encounter a technical error during parsing or archiving will always be renamed to .err to allow for later analysis.
 +
 +===== Konfiguration =====
 +
 +Die grundlegende Start-Konfiguration des Benno Archive Daemons wird mit Hilfe der Datei ''/etc/default/benno-archive'' gesteuert. Hier wird der Parameter //DAEMON_ARGS// entsprechend erweitert.
 +
 +<file bash>
 +START_ARCHIVE=yes
 +JAVA_OPTIONS=' -server '
 +
 +DAEMON_ADDRESS='127.0.0.1'
 +DAEMON_PORT='2555'
 +
 +#DAEMON_ARGS='-c /etc/benno/benno.xml'
 +DAEMON_ARGS='-c /etc/benno/benno.xml --delete NEVER'
  
 +USER=benno
 +</file>
error-mails.1478594968.txt.gz · Zuletzt geändert: 2016/11/08 08:49 von 127.0.0.1