On 09/10/2020 11:50, Plutocrat wrote:
On 09/10/2020 4:16 pm, Rogier Wolff wrote:
It turns out that dovecot had been running uninterrupted since august
13th, the certificate was renewed on september 7th and I suspect it
expired on october 7th.
I guess you could do a few things yourself to make sure the cert is valid.
Thinking out loud:
- Blunt instrument approach: Just restart/reload Dovecot once a week via a cron
job. Letsencrypt will renew certs with less than 15 days to go, so once a week
should catch it.
If you're using Let's Encrypt, then at least the certbot client has
renewal hooks that you can use to run dovecot reload etc.
Good luck!
Reio