2.1.8 Ensure message access server services are not in use
Audit#
Run the following command to verify dovecot-imapd and dovecot-pop3d are not installed:
Nothing should be returned. Nothing should be returned.- OR -
- IF - the package is installed and is required for dependencies:
Run the following commands to verify dovecot.socket and dovecot.service are not enabled:
Run the following commands to verify dovecot.socket and dovecot.service are not active:
Nothing should be returned.Note: If the package is required for a dependency
- Ensure the dependent package is approved by local site policy
- Ensure stopping and masking the service and/or socket meets local site policy
Remediation#
Run one of the following commands to remove dovecot-imapd and dovecot-pop3d:
Run the following commands to stop dovecot.socket and dovecot.service, and remove the dovecot-imapd and dovecot-pop3d packages:
- OR -
- IF - a package is installed and is required for dependencies:
Run the following commands to stop and mask dovecot.socket and dovecot.service: