Hi there, I cant get SMTP Ports to open. I disabled exim4 via systemctl disable --now exim4 and have ufw-docker installed. It seems to respect me to open other ports, like http / https. I use it, because I want some docker Dashboards / Management UIs behind a VPN.
I configured my UFW like this: https://wiki.tinfoil-hat.net/books/docker/page/how-to-use-ufw-with-docker-ufw-docker
here’s the status output:
ufw status
Status: active
To Action From
-- ------ ----
22/tcp ALLOW Anywhere
1194/tcp ALLOW Anywhere
Anywhere ALLOW 10.8.0.0/24
80/tcp ALLOW Anywhere
443/tcp ALLOW Anywhere
465/tcp ALLOW Anywhere
587/tcp ALLOW Anywhere
143/tcp ALLOW Anywhere
993/tcp ALLOW Anywhere
110/tcp ALLOW Anywhere
995/tcp ALLOW Anywhere
4140/tcp ALLOW Anywhere
25 ALLOW Anywhere
22/tcp (v6) ALLOW Anywhere (v6)
1194/tcp (v6) ALLOW Anywhere (v6)
80/tcp (v6) ALLOW Anywhere (v6)
443/tcp (v6) ALLOW Anywhere (v6)
465/tcp (v6) ALLOW Anywhere (v6)
587/tcp (v6) ALLOW Anywhere (v6)
143/tcp (v6) ALLOW Anywhere (v6)
993/tcp (v6) ALLOW Anywhere (v6)
110/tcp (v6) ALLOW Anywhere (v6)
995/tcp (v6) ALLOW Anywhere (v6)
4140/tcp (v6) ALLOW Anywhere (v6)
25 (v6) ALLOW Anywhere (v6)
If I connect via Openvpn I get an open Port, If i try from outside, there’s no port reachable.
Even this doesn’t work: iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT
My last hope was that my VPS provider has SMTP ports closed, but I created a ticket and they said they don’t. I am kind of lost here. Any help appreciated
I don’t have much experience with using Docker, maybe I am doing something wrong
EDIT: I don’t know if related, but I use the Nginx Reverse proxy from Host and can Send and Recieve Emails across mailcow users. And Sending Emails to external mail addresses works as well