Information
dovecot is an open source IMAP and POP3 server for Linux based systems.
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.
Note: Several IMAP/POP3 servers exist and can use other service names. These should also be audited and the packages removed if not required.
Solution
Run the following command to remove dovecot and cyrus-imapd :
# dnf remove dovecot cyrus-imapd