Hi, I have my mailcow dockerized server for like a year now.
I had my MC VM in a proxmox server but I had a mac from hetzner and had it exposed to the internet.
Now I did some changes to add the extra IPs that I had into pfsense for protection, so I added the static IP as virtual IP and I did NAT rules for the ports stated here: https://docs.mailcow.email/prerequisite/prerequisite-system/#firewall-ports


The mailserver works! I can send/receive mails but I can’t access the web UI.
I found the /optc/mailcow.conf the bind IP, i changed it from the true IP to the internal that I have assigned to my VM, restarted the VM but still can’t access the UI.

Server details: Ubuntu 22.04.3 cloud image vm from template.
Host: Proxmox 8.1.3
Updated: Yes, full updated in both linux and mailcow containers.
NAT: Yes, all ports listed here https://docs.mailcow.email/prerequisite/prerequisite-system/#firewall-ports

are open

Any suggestions on how to fix that?

Thanks!
Kind regards,
George

The error I see is:
This site can’t be reached
mail.domain refused to connect.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED

Do you mean those settings?

HTTP_PORT=80
HTTP_BIND=

HTTPS_PORT=443
HTTPS_BIND=

If you don’t use an IP there (like in the above example) it will bind to all available IPs of the host. If it works afterwards it makes debugging easier (or just leave it like this if you don’t run other webservers on the MC host)

    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!

    DocFraggle
    yes, I mean those settings, there it had the static true IP, I removed it but still web gui didn’t work.
    I replaced it with the internal static IP of my pfsense router, also doesn’t work

      comfuzio yes, I’m not sure if rebooting and therefore restarting the docker daemon will run all the scripts etc

      You don’t need to reboot your VM if you change anything in the mailcow config, just execute above commands

        DocFraggle
        before i did this, i did the update and that seems to have fixed it!
        thanks! I think the update script does the above commands so probably this is what fixed it!

          Thank you again very much!
          I marked your answer as the solution, how can I close the topic as solved?

          No one is typing