Zum Inhalt springen
Modul 4 · Lektion 9 von 25

Hook für die automatische Erneuerung mit Let's Encrypt

Teil von Dovecot: IMAP/POP3 im Produktivbetrieb, im Modul SSL/TLS, Zertifikate und Ports.

Autor

Certbot erneuert Zertifikate an Ort und Stelle, startet Dovecot aber nicht neu. Ohne Reload liefern Sie weiter das alte Zertifikat aus, bis Dovecot neu startet.

Legen Sie einen Deploy-Hook in /etc/letsencrypt/renewal-hooks/deploy/reload-dovecot.sh an:

#!/bin/bash
systemctl reload dovecot
systemctl reload postfix
chmod +x /etc/letsencrypt/renewal-hooks/deploy/reload-dovecot.sh

Zertifikat von außen testen:

openssl s_client -connect mail.example.com:993 -servername mail.example.com -showcerts < /dev/null | grep "Verify return code"

Ziel ist Verify return code: 0 (ok).

SNI für mehrere Hostnamen: Ergänzen Sie Blöcke pro Name:

local_name imap.alt.example {
  ssl_cert = </etc/letsencrypt/live/imap.alt.example/fullchain.pem
  ssl_key  = </etc/letsencrypt/live/imap.alt.example/privkey.pem
}

Melden Sie sich an, um festzuhalten, was Sie gelesen haben.

Pulse · Cold-E-Mail-Versand

Versandinfrastruktur, die nur Ihnen gehört.

Jede Domain bekommt ihren eigenen MX-Host, ihre eigene IP, ihren eigenen DKIM-Selektor und ihr eigenes Zertifikat. Managed Pulse ist jetzt verfügbar, und wir betreiben es für Sie; die Self-hosted-Version kommt im 4. Quartal 2026.

# auf einem frischen Ubuntu-Server
$ cd pulse && sudo ./install.sh
→ docker compose up · kumomta · stalwart · caddy
→ dashboard ready on https://pulse.yourdomain.com
$

Außerdem von uns:Beat: Monitoring, das Ihnen die Lösung nenntBeratung: 65 $ pro Stunde, ohne Retainer