neomutt / neomutt

✉️ Teaching an Old Dog New Tricks -- IRC: #neomutt on irc.libera.chat
https://neomutt.org/
GNU General Public License v2.0
3.27k stars 309 forks source link

IMAP client forgets password between accounts #1927

Closed patrickbenkoetter closed 5 years ago

patrickbenkoetter commented 5 years ago

I'm trying to read my mailbox after a successful login and some idlying, but NeoMutt 20191102 forgets imap_pass and repeatedly ask for it.

Expected Behaviour

NeoMutt should ask for the password only once at login.

Actual Behaviour

NeoMutt asks for the password after a while, when I try to read new mail in other mailboxes of that account.

If NeoMutt crashed, did your OS create a 'coredump' file? No, it didn't

Steps to Reproduce

Login. Wait. Change to a mailbox of the same account.

How often does this happen?

When did it start to happen?

When I upgraded to NeoMutt 20191101. Seems this bug wasn't caught on release 20191102.

NeoMutt Version

neomutt -v
NeoMutt 20191102
Copyright (C) 1996-2016 Michael R. Elkins und andere.
NeoMutt übernimmt KEINERLEI GEWÄHRLEISTUNG. Starten Sie 'neomutt -vv', um
weitere Details darüber zu erfahren. NeoMutt ist freie Software.
Sie können es unter bestimmten Bedingungen weitergeben; starten Sie
'neomutt -vv' für weitere Details.

System: Linux 5.3.7-arch1-2-ARCH (x86_64)
ncurses: ncurses 6.1.20180127 (compiled with 6.1.20180127)
libidn2: 2.2.0 (compiled with 2.2.0)
GPGme: 1.13.1
hcache backends: kyotocabinet, gdbm, lmdb

Compiler:
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --enable-shared --enable-threads=posix --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto gdc_include_dir=/usr/include/dlang/gdc
Thread model: posix
gcc version 9.2.0 (GCC) 

Configure options: --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --gpgme --enable-lua --notmuch --gss --ssl --sasl --with-ui=ncurses --with-idn2=/usr --idn=0 --idn2=1 --lmdb --kyotocabinet --gdbm

Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=c99 -fno-delete-null-pointer-checks -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -I/usr/include -DNCURSES_WIDECHAR

Standard Einstellungen:
  +attach_headers_color +compose_to_sender +compress +cond_date +debug 
  +encrypt_to_self +forgotten_attachments +forwref +ifdef +imap +index_color 
  +initials +limit_current_thread +multiple_fcc +nested_if +new_mail +nntp +pop 
  +progress +quasi_delete +regcomp +reply_with_xorig +sensible_browser +sidebar 
  +skip_quoted +smtp +status_color +timeout +tls_sni +trash 

Einstellungen bei der Kompilierung:
  -autocrypt +bkgdset +color +curs_set +fcntl -flock -fmemopen +futimens 
  +getaddrinfo -gnutls +gpgme +gss +hcache -homespool +idn +inotify 
  -locales_hack +lua +meta -mixmaster +nls +notmuch +openssl +pgp +sasl +smime 
  -sqlite +start_color +sun_attachment +typeahead 
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/neomutt"
SENDMAIL="/usr/sbin/sendmail"
SYSCONFDIR="/etc"

Extra Info

#############################################################################
## mail.sys4.de
# Account
account-hook imap://mail.sys4.de 'set imap_user=--redacted--; set imap_pass=--redacted--'
# Folder
folder-hook imap://mail.sys4.de 'set folder=imap://mail.sys4.de/;'
# folder-hook imap://mail.sys4.de 'set record=+Sent; set trash=+Trash;'
folder-hook imap://mail.sys4.de 'set record=+Sent;'
folder-hook imap://mail.sys4.de 'set smtp_url=smtp://--redacted--@mail.sys4.de:587/; set smtp_pass=--redacted--'
folder-hook imap://mail.sys4.de 'set from="Patrick Ben Koetter <p@sys4.de>";'
folder-hook imap://mail.sys4.de 'set signature=~/.mutt/signature.sys4'
folder-hook imap://mail.sys4.de 'set xterm_title="[*] %f [Msgs:%?M?%M/?%m%?n? neu:%n?%?o? alt:%o?%?d? gel:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?] sort by %s/%S"'
# Macro
macro index,pager <F2> '<change-folder>imap://mail.sys4.de<enter>'
patrickbenkoetter commented 5 years ago

My BUG report is wrong. I will create a new one.