INBOX message count in sidebar

Mikhail Nidze mikzyth at icloud.com
Tue Jul 25 11:14:56 UTC 2023


On 24-07-2023 21:41, Will Yardley wrote:
> On Mon, Jul 24, 2023 at 10:18:37PM +0200, Mikhail Nidze via Mutt-users wrote:
> > The problem was in *folder* and *spoolfile* variables incorrectly set.
> > The correct ones are:
> > 
> >   set folder = "imaps://imap.mail.me.com:993"
> >   set spoolfile = "imaps://my_account@imap.mail.me.com/INBOX"
> 
> BTW, Kevin's response may have hinted at this a bit, but you can use +
> or = before so that you don't have to repeat the imaps:// part, e.g.,
> 
> set folder="imaps://imap.example.com/"
> set spoolfile=+INBOX
> set postponed=+Drafts

Thanks, I tried that too. In this case $spoolfile will be expanded
to "imaps://imap.mail.me.com:993/INBOX", i.e. without *my_account*
part and that doesn't work. In fact, fetching mail will still work
as it used to, but sidebar will show "INDEX  0". The only solution
I've found so far is to set $folder without *my_account* part and
$spoolfile with one.

-- 
Best regards,
Mikhail.



More information about the Mutt-users mailing list