Renewal of Let's Encrypt Certificates in Dovecot

Jerry jerry at seibercom.net
Thu Oct 11 15:18:03 EEST 2018


On Thu, 11 Oct 2018 12:39:07 +0200, Miloslav Hůla stated:

>Dne 2018-10-11 v 10:55 Ignacio Garcia napsal(a):
>> Hi there. I've been using Dovecot for quite some time now but I just 
>> started using Let's Encrypt certs. Since LE certs are renewed 
>> automatically without user intervention I'm wondering if I will need to 
>> restart dovecot after that renewal...
>> 
>> Has anybody had any experience with that?
>> 
>> Thanks so much for your help!
>> 
>> Ignacio  
>
> From my experience, restart is required.
>
>On Debian Strech, I edited cron job to:
>
>certbot -q renew --renew-hook 'service dovecot restart' --renew-hook 
>'service postfix reload'
>
>Milo
>
This works fine for me:

certbot renew --deploy-hook "service dovecot restart"

-- 
Jerry


More information about the dovecot mailing list