[GH-ISSUE #3195] dovecot need restart after LE certificate reissue #1796

Closed
opened 2026-02-27 11:19:11 +03:00 by kerem · 3 comments
Owner

Originally created by @lolhunter121 on GitHub (Feb 17, 2024).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3195

After LE certificate reissue all services, except dovecot is restarted and use new certificate.
Dovecot use old certificate till restart, so mail clients show error that certificate has expired.

Originally created by @lolhunter121 on GitHub (Feb 17, 2024). Original GitHub issue: https://github.com/modoboa/modoboa/issues/3195 After LE certificate reissue all services, except dovecot is restarted and use new certificate. Dovecot use old certificate till restart, so mail clients show error that certificate has expired.
kerem 2026-02-27 11:19:11 +03:00
Author
Owner

@Aegis8 commented on GitHub (Feb 22, 2024):

I encountered a similar issue today. Dovecot needed a manual reload to pick up the new certificate.

Affected version 2.2.0
OS: Ubuntu 22.04.3 LTS

I do not have logs for the certificate renewal date anymore.

<!-- gh-comment-id:1958766536 --> @Aegis8 commented on GitHub (Feb 22, 2024): I encountered a similar issue today. Dovecot needed a manual reload to pick up the new certificate. Affected version 2.2.0 OS: Ubuntu 22.04.3 LTS I do not have logs for the certificate renewal date anymore.
Author
Owner

@xinomilo commented on GitHub (Mar 20, 2024):

we face this problem since 06/2023, but not only dovecot. postfix too. we've been using following cron to restart services since :

XX X * * X /usr/sbin/postmap -F hash:/etc/postfix/sni_map
XX X * * X /bin/systemctl restart postfix.service
XX X * * X /bin/systemctl restart dovecot.service

note, simply restarting postfix, without re-mapping sni_map, doesn't work.
(Debian 11.9, modoboa 2.2.4.)

<!-- gh-comment-id:2009141326 --> @xinomilo commented on GitHub (Mar 20, 2024): we face this problem since 06/2023, but not only dovecot. postfix too. we've been using following cron to restart services since : XX X * * X /usr/sbin/postmap -F hash:/etc/postfix/sni_map XX X * * X /bin/systemctl restart postfix.service XX X * * X /bin/systemctl restart dovecot.service note, simply restarting postfix, without re-mapping sni_map, doesn't work. (Debian 11.9, modoboa 2.2.4.)
Author
Owner

@tonioo commented on GitHub (Apr 26, 2024):

https://github.com/modoboa/modoboa-installer/issues/522

<!-- gh-comment-id:2079346853 --> @tonioo commented on GitHub (Apr 26, 2024): https://github.com/modoboa/modoboa-installer/issues/522
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1796
No description provided.