• Community Support
  • USEnglish
  • Login prompt for E-Mail > Configuration, 401 Unauthorized

I’m following a setup guide for where I’ve created a VM in proxmox to host mailcow-dockerized, and at this point I’ve logged into mailcow and changed the admin password.
Now I’m trying to follow the step where I’m supposed to go to Configuration -> Mail setup. Add your domain under the tab “Domain”. but I don’t see such an option… Closest I can find is E-Mail -> Configuration which asks me to login, but won’t accept any credentials I know… See screenshots:

  • I tried accessing it from my phone using mobile data to see if being outside the LAN made a difference. It didn’t but the login prompt from my phone had the additional info that “haproxystats” was requesting the credentials!
    I think the following screen shots are self explanatory… 😳

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!

10 days later

esackbauer Thank you for your reply. Yes, I have HAProxy set up on my pFsense router, with reverse proxies several domains to several different physical machines running various services on the network. I have HAProxy offloading ssl certs for all other services at the moment, but I believe I have mailcow excluded from that (I’ll work on that when I get past this, if need be).

I checked the link you provided and followed the instructions to:

Make sure you change HTTP_BIND and HTTPS_BIND in mailcow.conf to a local address and set the ports accordingly, for example:

HTTP_BIND=127.0.0.1
HTTP_PORT=8080
HTTPS_BIND=127.0.0.1
HTTPS_PORT=8443

This will also change the bindings inside the Nginx container! This is important, if you decide to use a proxy within Docker.

I had:

HTTP_PORT=80
HTTP_BIND=

HTTPS_PORT=443
HTTPS_BIND=

and changed it to:

HTTP_PORT=80
HTTP_BIND=127.0.0.1

HTTPS_PORT=443
HTTPS_BIND=127.0.0.1

However, now I get a 503 Service Unavailable when trying to access the site… It seems that the instructions are for the reverse proxy being hosted on the same machine, is that the case?

What service is asking for credentials ( https://host/mailbox

)?
Does E-Mail>Configuration replace Configuration -> Mail setup?

I tried accessing it from my phone using mobile data to see if being outside the LAN made a difference. It didn’t but the login prompt from my phone had the additional info that “haproxystats” was requesting the credentials!
I think the following screen shots are self explanatory… 😳

No one is typing