Dovecot

Installation

Full dovecot package

sudo apt install -y dovecot

Imap related dovecot package

sudo apt install -y dovecot-imapd

Check if dovecot installation activates the relevant ports.

Display daemons using ports

ss -ntlp

Ensure that ssl certificates are enabled. Take a look into this file

/etc/dovecot/conf.d/10-ssl.conf
Change self-signed certificates in a production environment to one from an authority.

Create a new user.