2.2.11 Ensure IMAP and POP3 server is not enabled

Information

exim is an open source IMAP and POP3 server for Linux based systems.

Rationale:

Unless POP3 and/or IMAP servers are to be provided by this system, it is recommended that the package be removed to reduce the potential attack surface.

Solution

Run the following commands to remove exim:

# apt-get remove exim4

# apt-get purge exim4

Notes:

Several IMAP/POP3 servers exist and can use other service names. dovecot and cyrus-imap are example services that provide a mail server. These and other services should also be audited.

See Also

https://workbench.cisecurity.org/files/2619

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b., CSCv7|9.2

Plugin: Unix

Control ID: 967904a1be1617f45cde93e15d964fa3b2b6b27d6a914175d15c4e388a71b89b