Skip to content

2.2.10 Ensure IMAP and POP3 server are not installed

Audit#

Run the following command to verify dovecot-imapd and dovecot-pop3d are not installed:

# dpkg-query -W -f='${binary:Package}\t${Status}\t${db:Status-Status}\n' dovecot-imapd dovecot-pop3d
dovecot-imapd unknown ok not-installed not-installed
dovecot-pop3d unknown ok not-installed not-installed

Remediation#

Run one of the following commands to remove dovecot-imapd and dovecot-pop3d:

# apt purge dovecot-imapd dovecot-pop3d