Menu Close
Settings Close

Language and Page Formatting Options

Red Hat Training

A Red Hat training course is available for RHEL 8

Chapter 13. Securing Dovecot

Dovecot contains self-signed SSL certificates in the /etc/dovecot/conf.d/10-ssl.conf file. Because Dovecot does not have CA certificates, you receive a warning message when you connect to the service. Ensure that you open the default SMTP, IMAP, SSL/TLS IMAP, and POP3 ports, using the following the command:

# firewall-cmd --permanent --add-port=110/tcp --add-port=995/tcp
# firewall-cmd --permanent --add-port=143/tcp --add-port=993/tcp
# firewall-cmd --reload

To check logs for problems related to Dovecot, use the following journalctl command:

# journalctl -u dovecot -b

Additional resources