Bug#946900: latest neomutt no longer uses account-hook for initial login [regression]

2020-09-15 Thread Marvin Renich
* Antonio Radici  [200624 08:00]:
> Control: tag -1 +moreinfo
> 
> Can you provide an example configuration that allow us to reproduce this bug
> against the version that is currently on sid?

The only things necessary are "set spoolfile=...", "mailboxes ...", and
an account-hook that sets imap_user and imap_pass for the account used
in the common imap spoolfile/mailbox.

This simple file demonstrates the bug for me in a relatively clean
buster VM with neomutt from unstable:

set realname="Your Name"
set from="y...@example.com"
set use_from
set spoolfile="imap://mail.example.com/inbox"
set folder="imap://mail.example.com"
mailboxes imap://mail.example.com/inbox
account-hook imap://mail.example.com/ 'set imap_user=you imap_pass=secret'

(Obviously, use a real imap server and account.)

If you comment out the mailboxes line, you are not prompted.  In my
real setup, mailboxes contains a list of folders, and I have "set
sidebar_visible=yes".

...Marvin



Bug#946900: latest neomutt no longer uses account-hook for initial login [regression]

2020-06-24 Thread Antonio Radici
Control: tag -1 +moreinfo

Can you provide an example configuration that allow us to reproduce this bug
against the version that is currently on sid?