Univention Bugzilla – Bug 42907
Provide benno-mailarchiv App as Docker App
Last modified: 2019-01-03 07:18:13 CET
The benno-mailarchiv App should be provided as Docker App.
First docker version online in Test AppCenter -> univention-install univention-appcenter-dev -> univention-app dev-use-test-appcenter -> univention-app install benno-mailarchiv=2.1.5-4-ucs1 No packages updates needed. benno-milter communicates with postfix via a unix socket. This socket is mapped from container to the host (actually /var/spool/postfix/benno-milter is mapped) to make the socket in the container available for the postfix on the host. Added AppCenter join/unjoin scripts: * join - set service Benno-Mailarchiv - enable ssl in container - configure smtp/smtps/submission milter to benno-milter - add postfix to group (docker host) of /var/spool/postfix/benno-milter/benno-milter.sock - restart postfix * unjoin - remove service - remove postfix milter UCR settings Persistent data: The following dirs are mapped (docker volumes): /var/spool/postfix/benno-milter -> var/spool/postfix/benno-milter /var/lib/benno-web -> /var/lib/benno-web /srv/benno/archive -> /srv/benno/archive /srv/benno/inbox -> /srv/benno/inbox is this enough?
According to the app provider this should be enough to be working. What is the next step? Take the packages and make a docker app and provide it in the Test App Center?
(In reply to Nico Gulden from comment #2) > According to the app provider this should be enough to be working. > > What is the next step? Take the packages and make a docker app and provide > it in the Test App Center? Already done, the benno docker app is available in the Test AppCenter and ready for testing: UCS 4.1: -> univention-install univention-appcenter-dev -> univention-app dev-use-test-appcenter -> univention-app install benno-mailarchiv=2.1.5-4-ucs1 One question. At the moment one can install benno-mailarchiv on a system without the UCS mailstack (without univention-mail-server). I am not sure if this makes much sense. But we can "RequiredApps=mailserver" in the ini file to add a dependency to the mail stack (this app has to be installed before the installation of benno-mailarchiv is allowed).
Works. The log directory should be mapped too: /var/log/benno
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.