Hi there, I am unable to find the documentation about how to disable the Calendar and Contacts module in SOGo.
I have another solution for my calendar and contacts so I want to avoid people start adding it there instead of the correct one.
Can someone point me to it or tell me how I can achieve it. I found something like this
sogo.conf
SOGoModulesEnabled = (Mail);
and
SOGoDisabledModules = (Calendar, Contacts);

But nothing is really working for me. Both modules stay active.

Thanks in advance!

    I see few options
    1) docs.mailcow.email Icon made custom template

    and set display:none using css to hide those icons
    2) Disable SoGo in mailcow.conf via SKIP_SOGO=Y, when web UI is needed install docs.mailcow.email Icon RoundCube
    docs.mailcow.email Icon docs.mailcow.email
    Roundcube - mailcow: dockerized documentation
    None
    docs.mailcow.email

    3) Hack Mailcow (hidden below)

    DISCLAIMER: Totally unsupported by Mailcow, do this only on you own risk

    Well, look into SoGo docs for your options, as far I can find you are able to do this only in two sections LDAP or SQL auth settings here

    via ModulesConstraints.

    So now go find how Mailcow implement use auth, ok looking for keyword SOGoUserSources (keyword found in Sogo docs), found GitHub Icon here

    This file is used every time when docker container kick in, so you need to update it inside container so docker exec -it f7eda74a8c41 bash (change your id), edit this file /bootstrap-sogo.sh ok but it’s XML not JSON from docs, convert it by how it’s xml structured (only end part,…):

                        <key>prependPasswordScheme</key>
                        <string>YES</string>
                        <key>viewURL</key>
                        <string>mysql://${DBUSER}:${DBPASS}@%2Fvar%2Frun%2Fmysqld%2Fmysqld.sock/${DBNAME}/_sogo_static_vie>
                        <key>ModulesConstraints</key>
                        <dict>
                            <key>Calendar</key>
                            <dict>
                                <key>c_ou</key>
                                <string>employees</string>
                            </dict>
                        </dict>
                    </dict>" >> /var/lib/sogo/GNUstep/Defaults/sogod.plist

    exit from container, composer down/up done

      Have something to say?

      Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

      ETNyx Thanks for providing some options, I will try them and check which one I like best. But to be honest, it is kinda sad that this is not supported out of the box.

      I do not think so, 99.9% admins do not need this (or does not care), you can always fork mailcow, make your modification a every update backport official changes. And it’s more of SoGo lacking this feature in some meaningful way. Also for option 3) changing file in container is for testing only, after update you will lose this change. Did that post in hurry, sorry for that.

      No one is typing