Hi! I understand using a firewall is not a good idea for Mailcow, but I wish to use iptables as my firewall. Does Mailcow automatically open all ports needed with iptables, or do I manually need to open the ports listed on link Appreciate any help!
To be clear, all I am wondering is do those specific ports in that link need to be opened over tcp, and if those ports need to be incoming and outgoing, or something like this.
I dont use iptables nor ufw on my mailcow to block own ports, but you may read this article about Docker and iptables
use the DOCKER_USER chain to add your own rules
Also see https://docs.docker.com/network/iptables/
Thanks! If anyone does know, I still do not know wether I should open the firewall ports to INPUT, FORWARD, or OUTPUT. If you know what to do, please let me know! Tysm!