Package: dovecot-core
Version: 1:2.4.1+dfsg1-1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: [email protected]
After upgarding from "unknown" to dovecot-core 2.4.1 (unstable) new variable
%{user|domain} is not correctly maneged in /etc/dovecot/conf.d/10-mail.conf.
The user I use is [email protected]
if I use
mail_inbox_path = /var/local/vmail/dagami.org/nb/Maildir
mail_path = /var/local/vmail/dagami.org/nb/Maildir
It works fine
If I use
mail_inbox_path = /var/local/vmail/dagami.org/%{user|username}/Maildir
mail_path = /var/local/vmail/dagami.org/%{user|username}/Maildir
It works fine
But if I use
mail_inbox_path = /var/local/vmail/%{user|domain}/nb/Maildir
mail_path = /var/local/vmail/%{user|domain}/nb/Maildir
It doesn't work. Mailboxes are empty.
So I think %{user|domain} is not correctely managed in
/etc/dovecot/conf.d/10-mail.conf
I have tried many clients (mutt, Android K9 mail, roundcube, it's always the
same.
-- Package-specific info:
dovecot configuration
---------------------
# 2.4.1-4 (7d8c0e5759): /etc/dovecot/dovecot.conf
# Pigeonhole version 2.4.1-4 (0a86619f)
# OS: Linux 6.12.17-amd64 x86_64 Debian trixie/sid ext4
# Hostname: colibri.dagami.org
# 4 default setting changes since version 2.4.0
dovecot_config_version = 2.4.0
dovecot_storage_version = 2.4.0
fts_autoindex = yes
fts_autoindex_max_recent_msgs = 999
fts_search_add_missing = yes
mail_driver = maildir
mail_inbox_path = /var/local/vmail/dagami.org/%{user|username}/Maildir
mail_path = /var/local/vmail/dagami.org/%{user|username}/Maildir
mail_privileged_group = mail
protocols {
imap = yes
}
passdb pam {
}
userdb passwd {
}
userdb static {
driver = static
fields {
gid = vmail
home = /var/local/vmail/%{user|domain}/%{user|username}/Maildir
uid = vmail
}
}
namespace inbox {
inbox = yes
mailbox Drafts {
special_use = "\\Drafts"
}
mailbox Junk {
special_use = "\\Junk"
}
mailbox Trash {
special_use = "\\Trash"
}
mailbox Sent {
special_use = "\\Sent"
}
mailbox "Sent Messages" {
special_use = "\\Sent"
}
}
service imap-login {
inet_listener imap {
}
inet_listener imaps {
}
}
service pop3-login {
inet_listener pop3 {
}
inet_listener pop3s {
}
}
service submission-login {
inet_listener submission {
}
inet_listener submissions {
}
}
service lmtp {
unix_listener lmtp {
}
}
service imap {
}
service pop3 {
}
service submission {
}
service auth {
unix_listener auth-client {
group = Debian-exim
mode = 0660
}
}
service auth-worker {
}
service dict {
unix_listener dict {
}
}
ssl_server {
cert_file = /etc/dovecot/private/dovecot.pem
key_file = /etc/dovecot/private/dovecot.key
}
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.17-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_SOFTLOCKUP
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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.150
ii dovecot-sieve 1:2.4.1+dfsg1-1
ii init-system-helpers 1.68
ii libapparmor1 4.1.0-1
ii libbz2-1.0 1.0.8-6
ii libc6 2.41-7
ii libcap2 1:2.75-6
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-1
pn dovecot-ldap <none>
pn dovecot-lmtpd <none>
pn dovecot-managesieved <none>
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-1
pn dovecot-dev <none>
pn dovecot-gssapi <none>
ii dovecot-imapd 1:2.4.1+dfsg1-1
pn dovecot-ldap <none>
pn dovecot-lmtpd <none>
pn dovecot-managesieved <none>
pn dovecot-mysql <none>
pn dovecot-pgsql <none>
pn dovecot-pop3d <none>
ii dovecot-sieve 1:2.4.1+dfsg1-1
pn dovecot-sqlite <none>
-- no debconf information