CardDAV-Plugin for Roundcube

Issue #622 new
Former user created an issue

Hi there,

I am evaluating your free Version of poste-Mailserver. Great Thing so far! Kudos to all of you.

What I am missing is the ability to add external CardDAV-repos using the CardDAV-Plugin[1]. Are there any plans to integrate it into one of the next images?

TIA

Stephan

[1] https://www.benjamin-schieder.de/carddav.html

Comments (4)

  1. Robert Obermeier

    Already possible to add that plugin. You have to extend the image and install the plugin. I actually have that image installed and Google Contacts stopped working some while ago. I have to rebuild the container and see if there is a newer version that works.

  2. Marco Visin

    Robert can you please share the Dockerfile you’re using to extend the base image?

    It will help us not re-inventing the wheel again 😁

    Thanks!

  3. Robert Obermeier

    Well the thing is I stopped doing that some while ago and I’m not sure if my changes would still work with the current image. I do remember however that I had to fix it all the time. (missing deps, changes in the poste image, undo file/dir stripping to be able to use apt/dpkg etc.)

    Until there is real support for doing this on the poste image I would not recommend doing that in a production setup. I don’t think it is viable. I did add some other plugins and changes as well and they are not separated in that file.

    Additionally: Weren’t those plugins added at some point to the poste image?

    Nonetheless this was the last thing I had set-up (most likely will not work anymore, plus iirc there are better plugins out there.)

    FROM docker.io/analogic/poste.io:latest
    RUN mkdir -p /usr/share/man/man1/ && mkdir /sl && \
            mv /etc/apt/sources.list.d/* /sl && apt-get update && apt-get -o Dpkg::Options::="--force-confold" install -y apt-transport-https && mv /sl/* /etc/apt/sources.list.d/ && rmdir /sl && \
            mkdir /tmp/install && cd /tmp/install && \
            DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" -y install -f php-gd php-ldap && \
            apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -f && \
            DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" install -y git libjpeg62-turbo libfreetype6 libpng16-16 && \
            DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" upgrade -y && apt-get clean && rm -rf /usr/share/man && \
            phpenmod -v ALL gd && cp /opt/www/webmail/composer.json-dist /opt/www/webmail/composer.json && \
            sed -i '/roundcube\/plugin-installer/a \
                    "roundcube/carddav": "dev-master",' /opt/www/webmail/composer.json && \
            chown 501:80 /opt/www/webmail
    RUN chown -R 501:80 /opt/www/webmail
    USER 501
    RUN cd /opt/www/webmail && HOME=/tmp php /opt/admin/composer.phar install -n
    USER 0
    RUN chown 0:0 /opt/www/webmail && \
            sed -i "s/'enigma'/'enigma', 'carddav'/" /opt/www/webmail/config/config.inc.php && \
            grep 'carddav' /opt/www/webmail/config/config.inc.php
    

  4. Log in to comment