Package: dovecot-core Version: 1:2.4.1+dfsg1-4 Severity: important Dear Maintainer,
After upgrading dovecot to v2.4 my virtual user setup was broken. After some investigating I sound out that there is a small issue in auth-passwdfile.conf.ext template: auth_username_format in userdb section is equal to %u but in v2.4 the correct variable is %{user}. This leads to following error in logs: dovecot[31599]: auth(x...@yyy.tld,192.168.1.22,sasl:plain)<Kha0BHo1OsTAqAEW>: Error: user not found from any userdbs dovecot[31599]: imap(31645): Error: auth-master: login: request [3785228289]: Login auth request failed: Authenticated user not found from userdb, auth lookup id=3785228289 (auth connected 0 msecs ago, request took 0 msecs, client-pid=31644 client-id=1) -- Package-specific info: -- System Information: Debian Release: 13.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 6.12.27-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dovecot-core depends on: ii adduser 3.152 ii dovecot-sieve 1:2.4.1+dfsg1-4 ii init-system-helpers 1.68 ii libapparmor1 4.1.0-1 ii libbz2-1.0 1.0.8-6 ii libc6 2.41-8 ii libcap2 1:2.75-7 ii libcrypt1 1:4.4.38-1 ii libexttextcat-2.0-0 3.4.7-1+b1 ii libicu76 76.1-3 ii liblua5.4-0 5.4.7-1+b2 ii liblz4-1 1.10.0-4 ii libpam-runtime 1.7.0-3 ii libpam0g 1.7.0-3 ii libsodium23 1.0.18-1+b2 ii libssl3t64 3.5.0-1 ii libstemmer0d 2.2.0-4+b2 ii libsystemd0 257.5-2 ii libtirpc3t64 1.3.6+ds-1 ii libunwind8 1.8.1-0.1 ii libzstd1 1.5.7+dfsg-1 ii openssl 3.5.0-1 ii ssl-cert 1.1.3 ii ucf 3.0051 ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1 dovecot-core recommends no packages. Versions of packages dovecot-core suggests: pn dovecot-flatcurve <none> pn dovecot-gssapi <none> ii dovecot-imapd 1:2.4.1+dfsg1-4 pn dovecot-ldap <none> pn dovecot-lmtpd <none> ii dovecot-managesieved 1:2.4.1+dfsg1-4 pn dovecot-mysql <none> pn dovecot-pgsql <none> pn dovecot-pop3d <none> pn dovecot-solr <none> pn dovecot-sqlite <none> pn dovecot-submissiond <none> pn ntp <none> Versions of packages dovecot-core is related to: ii dovecot-core [dovecot-common] 1:2.4.1+dfsg1-4 pn dovecot-dev <none> pn dovecot-gssapi <none> ii dovecot-imapd 1:2.4.1+dfsg1-4 pn dovecot-ldap <none> pn dovecot-lmtpd <none> ii dovecot-managesieved 1:2.4.1+dfsg1-4 pn dovecot-mysql <none> pn dovecot-pgsql <none> pn dovecot-pop3d <none> ii dovecot-sieve 1:2.4.1+dfsg1-4 pn dovecot-sqlite <none> -- debconf information excluded