• Bug#1104166: dovecot-core: %{user|domain} issue after upgrade to 2.4.1

    From [email protected]@21:1/5 to All on Sat Apr 26 15:20:01 2025
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to [email protected] on Mon Apr 28 17:20:01 2025
    This is a multi-part message in MIME format...

    Your message dated Mon, 28 Apr 2025 11:12:54 -0400
    with message-id <[email protected]>
    and subject line Re: Bug#1104166: dovecot-core: %{user|domain} issue after upgrade to 2.4.1
    has caused the Debian Bug report #1104166,
    regarding dovecot-core: %{user|domain} issue after upgrade to 2.4.1
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected]
    immediately.)


    --
    1104166: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104166
    Debian Bug Tracking System
    Contact [email protected] with problems

    Received: (at submit) by bugs.debian.org; 26 Apr 2025 13:11:58 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-19.1 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
    DKIM_VALID_EF,FOURLA,HAS_PACKAGE,SPF_HELO_NONE,SPF_PASS,
    XMAILER_REPORTBUG autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 68; hammy, 150; neutral, 232; spammy,
    0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
    0.000-+--X-Debbugs-Cc, 0.000-+--trixie, 0.000-+--H*M:reportbug,
    0.000-+--H*MI:reportbug
    Return-path: <[email protected]>
    Received: from colibri.dagami.org ([2a04:52c0:116:c8f3::1]:49052)
    by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__