I decided to give the script a try for a new installation on CentOS 8.2. Results were good except for a minor problem with Dovecot not experienced with previous installations using install.sh v6.1.1.
doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 14: ssl_cert: Can't open file /etc/pki/dovecot/certs/dovecot.pem: No such file or directory
10-ssl.conf correctly points to this pair:
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
But the dovecot-openssl.cnf file was using /etc/ssl, so the certificate was skipped.
Dovecot provides a bash script that helps sort this out: https://wiki2.dovecot.org/SSL/CertificateCreation
One line in mkcert.sh was changed to work with CentOS.
needs to be
Then running the script fixed the problem.
Let’s Encrypt certs will replace self-signed certs but this got Dovecot running until then.