No, Mailcow was designed to be safe. it brings its own firewall rules in the docker networks, and also has Netfilter/fail2ban to prevent brute force attacks.
And its not only the login page open for everyone on the internet, its also port 25 SMTP to be able to receive mails…