I can’t find where to disable the POP3 protocol in the Mail application, is it possible? I have already disabled it in the firewall, but following the principle of Defense in Depth, I’d like Dovecot to not even listen on POP3 protocol.
Enter the config options. Here for example we specify the protocols to enabled.
In this case only imap and sieve are enabled and no pop3 as you asked for.
protocols = imap lmtp sieve
Restart the dovecot service by executing:
systemctl --user restart dovecot.service
Now pop3 is not provided anymore.
Hope that helps.