I've had certbot running on this mailserver that I'm running, and it seems that when the certificate is renewed that Postfix continues to run just fine, but Dovecot starts throwing certificate errors (and blocks iPhone access).
Where do I poke the bear to fix this?
Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
Dovecot doesn't actually start throwing errors, IMAP clients start complaining about expired certificates. I then log in and do a systemctl restart dovecot and the problem goes away.
It appears that Postfix is being restarted, but that Dovecot isn't.
Honestly this last happened in January, and I was really busy at the time so I just restarted it and went on my way. The evidence in /var/log/mail is gone, and there's nothing in the letsencrypt logs about restarting either.
Where would that configuration be?
We're due for a renewal in 6 days, so I can just wait for that to happen to gather log data.
Depends on how you've set you system up to reload Postfix. Did you add a deploy hook to Certbot at time of issuance? Or did you edit the cronjob/systemd timer or did you add your own cronjob/systemd timer?
That's just how linux distributions work. They may update versions during the active support window, but usually do not. Essential security releases will get pushed out during the active support and extended windows. Realistically, you shouldn't expect updates on most packages after the release is finalized.
Because of this, the Certbot team initially worked with distributions to fast-track releases - but that was too much work. A few years ago, they dropped direct support for distribution and moved primary support to snapd distribution. The best option to keep certbot up-to date on linux distributions is to use snap.
In terms of renewal, if you upgrade to the most recent version there is a new 'reconfigure' command which should allow you to edit a hook