User tools

Website tools


univention:imap import

IMAP import to UCS

IMAP import from Benno MailArchiv is not currently supported in the Univention Docker container. We recommend installing the import programs directly on the UCS system.

Zuerst wird das Repository mit den Softwarepaketen wie hier beschrieben, konfiguriert und anschließend der GPG-Key des Repositories installiert.

The package list is then updated and the benno-imap package is installed:

apt update && apt install benno-imap

The Benno MailArchiv import directory is directly available on the UCS host system and is mapped to the Benno MailArchiv Docker container. During the import process, it is important to ensure that the emails being imported can be deleted by Benno MailArchiv within the Docker container.

Die Benutzer-Id von „benno“ im Container ist auf dem Hostsystem in der Regel unter einem anderen Namen sichtbar. Dieser wird auf dem UCS Hostsystem über das Kommando

stat -c %U /srv/benno/inbox

The configuration file /etc/cron.d/benno-imap can be modified using the following command:

BENNOUSER=$(stat -c %U /srv/benno/inbox); sed -i -e "s/ benno / $BENNOUSER /" /etc/cron.d/benno-imap
univention/imap-import.txt Last modified: 2019/12/11 09:29 by lwsystems