mailcow / mailcow-dockerized

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

Can't login to SOGo after first installation #4391

Closed 7olstoy closed 2 years ago

7olstoy commented 2 years ago

Prior to placing the issue, please check following: (fill out each checkbox with an X once done)

Summary

After first setup your mail domain and first mail you can't login to SOGo with your credentials. After restart services - you can. Tried at 3 different domains / servers

Logs

Reproduction

1) docker-compose up -d with your docs 2) Login to /mailbox and add new domain 3) Add new mail address with this domain and generated password 4) Go to /SOGo and try to login with credentials which you get from step 3 (you will see wrong password/login error) 5) docker-compose down && docker-compose up -d and try to login again. Everything will be ok.

System information

Question Answer
My operating system Ubuntu 20.04.3 LTS
Is Apparmor, SELinux or similar active? not active
Virtualization technlogy (KVM, VMware, Xen, etc - LXC and OpenVZ are not supported KVM
Server/VM specifications (Memory, CPU Cores) 4Gb, 2Cores
Docker Version (docker version) 20.10.12, build e91ed57
Docker-Compose Version (docker-compose version) 1.29.2, build 5becea4c
Reverse proxy (custom solution) not used
MAGICCC commented 2 years ago

The dialog even asks you for restarting the sogo container and you have two buttons to either restart the container or not

 The SOGo container, "sogo-mailcow", needs to be restarted after adding a new domain!
7olstoy commented 2 years ago

two buttons to either restart the container or not

Your truth and my friday! But the text is not at all obvious to beginners, especially those who do not really understand that the domain is responsible for authorization (not adding mailbox with credentials).