This is an old version of the document!
With the command call
wget -O - https://www.benno-mailarchiv.de/download/debian-install.sh | bash
A script for installation is downloaded and executed directly. The script carries out the commands specified below to install and configure Benno MailArchiv.
Nach Ausführung des Scripts sollte noch das Passwort für den Adminuser gesetzt werden.
apt-get update apt-get install apt-transport-https wget gnupg2
Konfiguration der Repositories und Einspielen des Signaturschlüssels.
cat - >> /etc/apt/sources.list.d/benno-mailarchiv.list <<EOF deb https://www.benno-mailarchiv.de/download/debian / EOF
wget -O - https://www.benno-mailarchiv.de/download/debian/benno.asc | apt-key add -
Installing the software packages using apt
apt-get update apt-get -y --install-recommends install benno-archive benno-rest benno-web
/etc/init.d/benno-rest start
Falls keine LDAP-Anbindung o.ä. vorgesehen ist, erfolgt die Benutzerverwaltung mit dem Kommando benno-useradmin.
benno-useradmin -u admin -p secret
benno-useradmin -u hansen -p MyPass -n 'Paul Hansen' -e 'hansen@hansen-meyer.de,p.hansen@hansen-meyer.de'
For an auditor with access to all archived emails, the following user could be created:
benno-useradmin -u revisor -p RevisorPass -n 'Revisor' -e '*@*'
Um das Web-GUI per HTTPS abzusichern, muss der Webserver für HTTPS konfiguriert werden. Hierzu aktivieren Sie das ssl Modul und die Default SSL Website im Apache Webserver.
a2enmod ssl a2ensite default-ssl systemctl restart apache2