One needs to reload dovecot configuration by running the following command:
doveadm reload
This can also be set up to run as a hook-script for letsencrypt. Create an executable file in the /etc/letsencrypt/renewal-hooks/deploy/
directory with the following contents:
#!/bin/bash
for domain in $RENEWED_DOMAINS
do
if [ "$domain" = mail.server.com ]
then
doveadm reload >/dev/null
fi
done
https://serverfault.com/questions/958093/dovecot-issued-expired-certificate
← Back to Articles