Bug 42907 - Provide benno-mailarchiv App as Docker App
Provide benno-mailarchiv App as Docker App
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks: 42243
  Show dependency treegraph
 
Reported: 2016-11-09 14:40 CET by Felix Botner
Modified: 2019-01-03 07:18 CET (History)
4 users (show)

See Also:
What kind of report is it?: Release Management
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2016111021000463
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2016-11-09 14:40:33 CET
The benno-mailarchiv App should be provided as Docker App.
Comment 1 Felix Botner univentionstaff 2016-11-10 13:00:01 CET
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?
Comment 2 Nico Gulden univentionstaff 2016-12-19 14:20:49 CET
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?
Comment 3 Felix Botner univentionstaff 2016-12-19 14:52:21 CET
(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).
Comment 4 Martin Werthmöller 2017-01-04 10:11:50 CET
Works.

The log directory should be mapped too:

/var/log/benno
Comment 5 Stefan Gohmann univentionstaff 2019-01-03 07:18:13 CET
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.