Hello,
I’m installing Mailcow in a test environment using a fresh install of Ubuntu Server 22.04.5. I then followed the instructions over here: docs.mailcow.email/getstarted/install
Only other thing I did with this operating system was to install Neofetch, Network Manager, and some other service to get a static IP working. I also installed SSH on it. The rest is whatever the default is for the Ubuntu Server.
When using the ‘docker compose up -d’ command, everything goes up except for the Unbound-Mailcow-1 container. It appears to be not be able to connect to anything using the ‘docker compose logs –tail=whatever’ command.
Screenshot below:
I did have ICMP blocked by the firewall, but I removed it. Despite that, the above issue still occurs. Screenshot below to prove that I can ping and resolve domain names from the same server:
My suspicion is that a default gateway needs to be set up proper. Please see the below screenshot after using the ‘ip a’ command
There’s a lot more virtual Ethernet addresses than that, which I’m not sure what they are for. Anyway, the IP that the br-mailcow interface is taking is what should be the default gateway. I looked through the mailcow.conf and the docker-compose.yml files to see where I can configure this interface, assuming that the unbound container is using this interface to connect to the outside world, but I am unable to find it. My guess is that it is trying to ask itself where 1.1.1.1 is instead of asking my router.
I’ve tried manually adding an ipv4_address field for that interface, but it didn’t like my formatting. Below is the default config for that br-mailcow interface. Let me know if it needs to be changed.
FYI, I’m not very experienced in Linux, so giving any commands is more helpful then telling me to ‘do something’, if that makes sense. Also, from looking at other threads, folks commonly ask for the watchdog logs. I don’t know where it is. I don’t see it under /var/log or in the mailcow directory. Please guide me to it if you need it.
I appreciate any assistance. The matter is not urgent.