• Bug#1105846: mutt: The postponed file is emtied if mutt dies unexpected

    From Andreas Kohlbach@21:1/5 to All on Fri May 16 04:20:02 2025
    Package: mutt
    Version: 2.2.12-0.1~deb12u1
    Severity: normal
    X-Debbugs-Cc: ank@spamfence.net

    Dear Maintainer,

    *** Reporter, please consider answering these questions, where appropriate ***

    * What led up to the situation?

    A power outage while editing a postponed mail.

    (Same happens, if you kill mutt (SIGTERM or KILL) while editing a postponed mail; I just verified this)

    * What exactly did you do (or not do) that was effective (or
    ineffective)?

    Nothing. A power outage or other "crash" events are out of my control.

    * What was the outcome of this action?

    The content of the postponed file was gone. File still exists, but is empty (0 bytes).

    * What outcome did you expect instead?

    Keep the content of the postponed file after a crash.

    *** End of the template - remove these template lines ***


    -- Package-specific info:
    Mutt 2.2.12 (2023-09-09)
    Copyright (C) 1996-2023 Michael R. Elkins and others.
    Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
    Mutt is free software, and you are welcome to redistribute it
    under certain conditions; type `mutt -vv' for details.

    System: Linux 6.1.0-34-amd64 (x86_64)
    ncurses: ncurses 6.4.20221231 (compiled with 6.4)
    libidn2: 2.3.3 (compiled with 2.3.3)
    hcache backend: tokyocabinet 1.4.48

    Compiler:
    Using built-in specs.
    COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/12/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
    OFFLOAD_TARGET_DEFAULT=1
    Target: x86_64-linux-gnu
    Configured with: ../src/configure -v --with-pkgversion='Debian 12.2.0-14' --with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-12 --
    program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --
    with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --
    disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-12-
    bTRWOB/gcc-12-12.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
    Thread model: posix
    Supported LTO compression algorithms: zlib zstd
    gcc version 12.2.0 (Debian 12.2.0-14)

    Configure options: --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules '--libdir=${
    prefix}/lib/x86_64-linux-gnu' --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --with-mailpath=/var/mail --enable-compressed --enable-debug --enable-fcntl --enable-hcache --enable-gpgme --enable-imap --enable-smtp --enable-pop --
    enable-sidebar --enable-dotlock --disable-fmemopen --with-curses --with-gnutls --with-gss --with-idn2 --with-mixmaster --with-gsasl --without-gdbm --without-bdb --without-qdbm --with-tokyocabinet build_alias=x86_64-linux-gnu 'CFLAGS=-g -O2 -ffile-prefix-
    map=/build/reproducible-path/mutt-2.2.12=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'

    Compilation CFLAGS: -Wall -pedantic -Wno-long-long -g -O2 -ffile-prefix-map=/build/reproducible-path/mutt-2.2.12=. -fstack-protector-strong -Wformat -Werror=format-security

    Compile options:
    -DOMAIN
    +DEBUG
    -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE +USE_FCNTL -USE_FLOCK
    +USE_POP +USE_IMAP +USE_SMTP
    -USE_SSL_OPENSSL +USE_SSL_GNUTLS -USE_SASL +USE_GSASL +USE_GSS +HAVE_GETADDRINFO
    +HAVE_REGCOMP -USE_GNU_REGEX
    +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
    +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM +HAVE_FUTIMENS +CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME +CRYPT_BACKEND_GPGME
    -EXACT_ADDRESS -SUN_ATTACHMENT
    +ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR
    +HAVE_ICONV -ICONV_NONTRANS -HAVE_LIBIDN +HAVE_LIBIDN2 +HAVE_GETSID +USE_HCACHE
    +USE_SIDEBAR +USE_COMPRESSED +USE_INOTIFY
    -ISPELL
    SENDMAIL="/usr/sbin/sendmail"
    MAILPATH="/var/mail"
    PKGDATADIR="/usr/share/mutt"
    SYSCONFDIR="/etc"
    EXECSHELL="/bin/sh"
    MIXMASTER="mixmaster"

    To contact the developers, please mail to <mutt-dev@mutt.org>.
    To report a bug, please contact the Mutt maintainers via gitlab:
    https://gitlab.com/muttmua/mutt/issues


    -- System Information:
    Debian Release: 12.10
    APT prefers stable-updates
    APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.1.0-34-amd64 (SMP w/4 CPU threads; PREEMPT)
    Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages mutt depends on:
    ii libc6 2.36-9+deb12u10
    ii libgnutls30 3.7.9-2+deb12u4
    ii libgpg-error0 1.46-1
    ii libgpgme11 1.18.0-3+b1
    ii libgsasl18 2.2.0-1
    ii libgssapi-krb5-2 1.20.1-2+deb12u2
    ii libidn2-0 2.3.3-1+b1
    ii libncursesw6 6.4-4
    ii libtinfo6 6.4-4
    ii libtokyocabinet9 1.4.48-15
    ii zlib1g 1:1.2.13.dfsg-1

    Versions of packages mutt recommends:
    ii locales 2.36-9+deb12u10
    ii mailcap 3.70+nmu1
    ii sensible-utils 0.0.17+nmu1

    Versions of packages mutt suggests:
    ii aspell 0.60.8-4+b1
    ii ca-certificates 20230311
    ii gnupg 2.2.40-1.1
    ii ispell 3.4.05-1
    ii openssl 3.0.15-1~deb12u1
    ii postfix [mail-transport-agent] 3.7.11-0+deb12u1
    pn urlview <none>

    Versions of packages mutt is related to:
    ii mutt 2.2.12-0.1~deb12u1

    -- debconf-show failed

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)