gorby I have disabled Sogo as well, as I donāt need the groupware functionally, because I have separte Nextcloud instance for that. Also I donāt really like the UI of Sogo, but thatās of course highly subjective. š
Regarding POP3, you can enable/disable it per mailbox in the UI and you can also set the encryption policy.
Also, by setting (or not setting) certain SRV records, you can announce to the clients which ports they should prefer. You can also play with the priority and weight of certain records, or even explicitly tell clients not to use certain ports: https://docs.mailcow.email/getstarted/prerequisite-dns/#the-advanced-dns-configuration
If I understand correctly, this wonāt help if someone explicitly tries to connect to a less secure port (e.g. 587 instead of 465), or if a client only supports STARTTLS, or simply does not respect the RFC, but it should at least reduce the risk of your users connecting to less secure ports unintentionally, while still being able to connect to those ports if necessary for certain edge cases.
If you donāt need those ports for anything, and want to be 100% sure that nobody can connect to them, donāt open them or block them with a firewall. Ideally, use a firewall in front of your server rather than on the Mailcow server itself (I use my VPS providerās) - unless you know what youāre doing, as there are some potential pitfalls with the usual iptables/nftables front-ends like UFW, FirewallD and how they interact with Docker.