This is an old version of the document!
The configuration of authentication is described in detail in the article Active Directory
Die Archivierung von E-Mails eines Exchange-Servers sollte mit Hilfe der Funktion „Journaling Mailbox“ von MS Exchange erfolgen.
When configuring the journaling mailbox, ensure that the "Envelope Journaling" option is enabled. This format ensures that information from BCC recipients is not lost.
Emails in this mailbox can be retrieved via POP3. The POP3 configuration for the journaling mailbox user is done directly in the Exchange Management Console. Here, under "Recipient Configuration Mailbox User Properties Mailbox Function", the POP3 service must be enabled.
Depending on the Exchange Server configuration, authentication may only be performed using plaintext credentials via POP3S (su).
Die E-Mails in der Journaling Mailbox von Microsoft liegen in einem speziellen Format vor. Das Programm benno-exchange läd diese E-Mails per POP3 und konvertiert diese dann in das Standard E-Mail Format. Die für den Import aufbereitete E-Mail wird im Spoolverzeichnis von Benno MailArchiv gespeichert.
Das Debian Paket benno-exchange stellt die Funktionalität der Abholung und Konvertierung der E-Mails aus der Journaling Mailbox zur Verfügung.
apt-get install benno-exchange
Bei der Installation werden die für die Anbindung benötigten Parameter abgefragt und in die Konfigurationsdatei /etc/benno-exchange/benno-exchange.conf eingetragen.
The relevant parameters are set in the configuration file /etc/benno-exchange/benno-exchange.conf ( /opt/benno-exchange/benno-exchange.conf in the tar.gz package)
# # Default settings # # TRUE: 1 yes YES true TRUE ok OK # FALSE: 0 no NO false FALSE # # param = </path/to/file - read value (password) from first line of file # # DEBUG = no # delete = no # ssl = no # VERBOSE = no # host = localhost # port = 110 # inbox = /srv/benno/inbox # numfetch = 1000 # type = 2007 # jcopy = no # runuser = benno # authmode = BEST # statusfile = '' # extraheader_name = X-BENNO-GW # extraheader_value = # ssl_version = '' # TLSv1 | TLSv11 | TLSv12 | TLSv13 host = exchange.hostname user = username pass = password delete = yes ssl = no
Depending on the version of the MS Exchange Server, journaling emails are stored in a different format. The "-t 2003" option processes journal files from MS Exchange 2003. Without specifying "-t", the format of version 2007 or later is analyzed.
If you encounter problems with the data retrieval, the program should be run directly from the console using the -v switch. Any errors will then be displayed directly
/usr/sbin/benno-exchange -R benno -c /etc/benno-exchange/benno-exchange.conf -v
The command-line parameter -D displays debug messages. If you experience problems with the SSL connection to the server, you should set the environment variable SSLDEBUG before running the command. Information about the SSL handshake will be displayed here:
SSL_DEBUG=2 /usr/sbin/benno-exchange -R benno /etc/benno-exchange/benno-exchange.conf -v
To install, download the latest version of the benno-exchange tar archive and extract it to the root of the filesystem. This will copy the following files and directories to the system.
Additionally, the following files and directories will be extracted. These can be deleted directly.
The following Perl modules are also required: