mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
9.03k stars 1.18k forks source link

SOGo change autoBox.html content #5306

Open prononext opened 1 year ago

prononext commented 1 year ago

Summary

It would be really nice to have a possiblity to change the autoBox.html content of the SOGo login.

image

image

Motivation

Like this legally required links could be added like privacy policy, usage therms etc.

Additional context

No response

MAGICCC commented 1 year ago

As SOGo is not developed by mailcow you have limited possibilities. You can check the FAQs - https://www.sogo.nu/support/faq/how-to-customize-the-html.html Or ask in their bugtracker for an easier solution: https://bugs.sogo.nu/my_view_page.php

prononext commented 1 year ago

I thought because mailcow allows customizing other parts oft the sogo there could be a way to customize the .wox also, outside oft the Sogo Volumen/Container?

https://docs.mailcow.email/manual-guides/SOGo/u_e-sogo/

MAGICCC commented 1 year ago

Yes that's possible too, but would require some work. You can either edit https://github.com/Alinto/sogo/blob/master/UI/Templates/MainUI/SOGoRootPage.wox Or directly the AboutBox But you may have to do it in all languages if you want to do it https://github.com/Alinto/sogo/tree/master/UI/MainUI

Restart sogo container and it's working. Indeed it's a hassle

prononext commented 1 year ago

Sounds nice, but where do I place my custom .wox file? And is anything else needed?

MAGICCC commented 1 year ago

You can use the docs for an example, just with a different .wox. But you have to edit the language files and not the .wox itsself Also do note if Alinto changes something inside the language files you have to merge your changes with theirs

prononext commented 1 year ago

@MAGICCC Sorry for the question, but it is still not clear where I place my language file? Can I place it in the /opt/mailcow-dockerized/data/conf/sogo? And could I also place a .wox there if I wanted a custom one?

MAGICCC commented 1 year ago

Yes you can put it anywhere as long as the path inside the container is right

prononext commented 1 year ago

@MAGICCC I am very sorry but it is not clear at all:

Yes you can put it anywhere as long as the path inside the container is right

Where exactly inside the mailcow-dockerized directory do I store the custom sogo .wox file or language file? So that after restarting my customizations are reflected in my SOGo.

MAGICCC commented 1 year ago

It doesn't matter, you need to find the right path inside the container only

prononext commented 1 year ago

ah ok. so there is no way to get it placed into /opt/mailcow-dockerized/conf/sogo ... outside of the container Hopefully that will be supported soon, for the SOGo .wox and languages files.

MAGICCC commented 1 year ago

Maybe you misunderstand, you have to place it outside of the container and link the file inside, as explained in the docs.... It doesn't matter where you place it outside.