Author Topic: Docker and managesieve  (Read 1225 times)

Offline mxwx

  • Newbie
  • *
  • Posts: 1
Docker and managesieve
« on: October 08, 2021, 03:48:08 AM »
Hi there,

I have managed to install roundcube with docker finally. Now I want to activate managesieve and don't know the correct way to make sure it will survive updates of the container. I have looked at the manuals concerning "composer.phar require" but dont manage to install it that way. Even composer.phar require --dry-run "roundcube/managesieve": "^=9.3.0" is not working.

I finally made it working with manipulating the docker containers and the of the managesieve plugin. This way, I believe, it will not survive a docker update and I would have to do the "manipulation" after each update.

Well, is there someone out there that has managed the activation of managesieve the "correct way" and is willing to share its knowledge.

« Last Edit: October 08, 2021, 03:51:31 AM by mxwx »

Offline erik_fugletaint

  • Newbie
  • *
  • Posts: 6
Re: Docker and managesieve
« Reply #1 on: October 13, 2021, 11:09:31 PM »
I just finished installing managesieve on the official roundcube image from dockerhub:

The plugin is selected using the ROUNDCUBEMAIL_PLUGINS environment variable.  So my docker run command includes this, for example:
Code: [Select]
-e ROUNDCUBEMAIL_PLUGINS=archive,zipdownload,database_attachments,managesieve
I have the plugin config in a directory on the docker host that is mounted by the image on /var/roundcube/config.  For example if you put the config file in /opt/roundcube/config, you would add this to your docker run command:
Code: [Select]
-v /opt/roundcube/config/:/var/roundcube/config/
The roundcube image is configured to include any custom config in /var/roundcube/config.  See the "Advanced configuration" section on the dockerhub page for more details.