Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Date: 2007dec14 Product: dovecot Q. How to I enable SSL/TLS with Dovecot (the POP3 and IMAP server)? A. With RedHat/Fedora/CentOS its fairly easy. Self-signed certificates are already made for you. So just uncomment the following lines in /etc/dovecot.conf# Disable SSL/TLS support? ssl_disable = no # PEM encoded X.509 SSL/TLS certificate and private key. They're opened before # dropping root privileges, so keep the key file unreadable by anyone but # root. Included doc/mkcert.sh can be used to easily generate self-signed # certificate, just make sure to update the domains in dovecot-openssl.cnf ssl_cert_file = /etc/pki/dovecot/certs/dovecot.pem ssl_key_file = /etc/pki/dovecot/private/dovecot.pemOptionally, if you don't want to let anybody login without SSL or TLS do this:disable_plaintext_auth = yesFinally, restart dovecot:systemctl restart dovecotDon't forget to test with a mail client like Thunderbird.
Add a commentSign in to add a comment