I am using the mailcow dockerized setup on one of my VPS’s and have it mostly working. I was able to add a test domain and get a mailbox setup on it. I am able to send email from an outside domain and see it show up in the mailbox via the admin interface. However when I try to log in to the SOGo interface to check the mail I get the error Wrong username or password.

Looking at the logs I see sogod [68]: SOGoRootPage Login from 'IPADDRESS' for user 'kameleon@genericdomainexample.com' might not have worked - password policy: 65535 grace: -1 expire: -1 bound: 0

If I read correctly I should be able to log in as the admin user also but I get the same error. I do have the allow admin login set to yes though. Am I missing something on this? The admin and user can log in to the panel, just not webmail.

Also wanted to add I have this running behind an nginx proxy manager setup if that makes any difference.

Hi,

You have to allow admin to login.

for users you have to login with the full emailadres.. are you doing this?

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!

I have allow admin login set to yes. I am also testing as the user by inputting the whole email address as the login.

    Ckruijntjens yes, all docker containers show good. Is sogo limited to IP by default in mailcow? If so that may be the issue coming from the proxy.

      kameleon no only postfix is restricted by $networks. But this has nothing to do with sogo.

      So I did a little more digging and it appears SOGo is not getting the auth settings from mailcow:

      No authentication sources defined - nobody will be able to login. Check your defaults.

      I am digging into the mailcow.conf file but everything looks right. Any ideas where to look on this?

      Also I get this [ERROR] |SOGo| No value specified for 'SOGoProfileURL' It may be related.

      Hi,

      I think it has to do with the config of sogo. I installed sogo once and got the same issue. I don’t know where the problem can be but my advise is to check the sogo config.

        Ckruijntjens So do we have to modify the sogo config manually when installing mailcow? I missed that in the docs if so.

          kameleon normally not. Normally everything should work out of the box. Maybe it’s an idea to reinstall mailcow?

            Ckruijntjens reinstallation is my thought. I am only in the testing phase right now. Trying to get something in place to replace all my legacy G-Suite accounts I have since the writing is on the wall for the demise of the “free” ones.

              Usually I know it is a good idea to change defaults, but this may have been my problem. After I generate the config, should I change:

              DBNAME=mailcow
              DBUSER=mailcow

              DBPASS and DBROOT were generated properly with long complex values.

                a year later

                Having the same issue. Upon checking the log seeing this.

                mailcowdockerized-sogo-mailcow-1  | May  6 12:50:24 e0890c8d475b sogod [84]: SOGoRootPage Login from 'XX.YY.ZZ.AB' for user 'user@example.tld' might not have worked - password policy: 65535  grace: -1  expire: -1  bound: 0
                mailcowdockerized-sogo-mailcow-1  | May  6 12:50:24 e0890c8d475b sogod [84]: XX.YY.ZZ.AB "POST /SOGo/connect HTTP/1.0" 403 33/91 0.020 - - 3M - 12
                mailcowdockerized-sogo-mailcow-1  | May  6 12:50:27 e0890c8d475b sogod [84]: XX.YY.ZZ.AB "GET /SOGo/so/ HTTP/1.0" 200 9503/0 0.013 39166 75% 1M - 12
                mailcowdockerized-sogo-mailcow-1  | May  6 12:50:27 e0890c8d475b sogod [84]: XX.YY.ZZ.AB "POST /SOGo/so/passwordRecoveryEnabled HTTP/1.0" 403 0/49 0.001 - - 0 - 12

                User were created from UI and tried to reset password multiple times and having same issue.

                I have the same issue on a new docker install.
                Came to this forum to see if I could find the answer.
                I am looking to replace a iRedmail server I am running now.
                This install is going to run on Arch Linux.

                I changed the users password and sogo let me login.
                I must not have entered the correct password.

                I changed multiple times and not working

                The other thing I did was use the entire email address as the username

                I did new install and create same user and password and it didn’t work, but when I reboot new system it worked. But old system still having same.