[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] etc/dovecot/local.conf: Fix passdb block syntax for Dovecot 2.4.x compatibility.

Mike Gabriel (@sunweaver) gitlab at salsa.debian.org
Fri May 22 23:29:46 BST 2026



Mike Gabriel pushed to branch master at Debian Edu / debian-edu-config


Commits:
a624dc1c by Daniel Teichmann at 2026-05-22T22:29:28+00:00
etc/dovecot/local.conf: Fix passdb block syntax for Dovecot 2.4.x compatibility.

Dovecot 2.4.x introduced a breaking change to the passdb/userdb
configuration block syntax. A prior commit 63523d4c partially adapted
etc/dovecot/local.conf to Dovecot 2.4.x by splitting mail_location
into mail_driver, mail_path, and mail_inbox_path, but did not update
the passdb block, leaving the configuration broken.

This causes Dovecot to fail immediately at startup with:
  - doveconf: Fatal: Error in configuration file /etc/dovecot/local.conf line 10: passdb { }
  - dovecot.service: Main process exited, code=exited, status=89/n/a

- - - - -


1 changed file:

- etc/dovecot/local.conf


Changes:

=====================================
etc/dovecot/local.conf
=====================================
@@ -7,8 +7,12 @@ auth_gssapi_hostname = postoffice.intern
 mail_driver = maildir
 mail_path = ~/Maildir
 mail_inbox_path = /var/mail/%u
-passdb {
-  args = uid=uid home=homeDirectory
-  driver = static
+
+passdb static {
+  fields {
+    uid = uid
+    home = homeDirectory
+  }
 }
+
 protocols = "imap"



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/a624dc1c581a3ff6e36bd3018ecb6f81b5de01c2

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/a624dc1c581a3ff6e36bd3018ecb6f81b5de01c2
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20260522/51a20c51/attachment.htm>


More information about the debian-edu-commits mailing list