How to disable POP3 in NS8 Mail app?

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.

Is it possible?

Here is one way how to do it.

From a shell execute the following:

runagent -m mail1

Here i use the module “mail1”, that might be different on your system if you moved or restored that mail app it since initial install.

Create a custom config file (custom.conf for example) that will appended to your mail dovecote config.

~/.local/share/containers/storage/volumes/dovecot-custom/_data/custom.conf

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.

Regards,
/erik

2 Likes

Update: i initially i forgot to add the lmtp protocol to the list.

For reference the default setting for this container is currently:

protocols = imap lmtp pop3 sieve

Regards,
/erik

1 Like

Thank you!! I was searching for this type of advice. NS8 is so different from NS7.

1 Like