You are not logged in.
Pages: 1
Hi all,
I having a strange issue with neomutt. Everything works fine (send/receive, etc). However, I keep getting these messages at the bottom of the terminal saying: "IMAP command failed: a0159 NO mailbox does not exist". The code a0159 changes every once in a while (a0069, a0089, and so forth). This was not always the case. I don't think it has anything to do with my muttrc file as I have not changed it recently.
Anyone has any idea why is this message appearing and/or how to get rid of it ? It is not particularly critical as neomutt's is working perfectly.
Thanks !
Last edited by fistrosan (2020-08-27 10:08:39)
Offline
The message come from the IMAP server.
(a0159,a0069… are meaningless IMAP server command identifiers, they are not error codes)
You can debug with
neomutt -d 5and track the failing IMAP command. Default logfile is ~/.neomuttdebug0
It seems that your client tries to access a folder that doesn't exist on the server. You’ll find the name of the mailbox at the end of the error line.
How is it possible ?
My guess is that you subscribed to a folder that you later deleted without unsubscribing.
When you log in, the server report a subscribed list (it is a simple list file on the server). Your client check for incoming mails in this mailbox, so it tries to access an unexisting folder.
So you have to unsubscribe.
- go to the mailbox browser (pressing <c> then <?>)
- switch to directory view with <tab>
If imap_list_subscribed is not set in your muttrc, you shoud see your local maildir. You can add it and restart mutt or you can do some tricky manipulations (I didn't find an easier way) :
In directory view (where you are, just after c?<tab>, do
:exec toggle-subscribed- Press <tab> again and you’ll be back into the mailbox browser
- Enter one of the mailbox with <enter>
- Come back to mailbox browser with <c?>, press <tab>, and you’ll see your subscribed mailboxes
1 IMAP INBOX
2 IMAP Drafts
...Here you should see the culprit ghost-mailbox that don't exist but you are subscribed to.
Unsubscribe with <u>.
Edit : an alternative would be to create the mailbox.
Last edited by SubS0 (2020-08-27 01:46:02)
Offline
Thanks so much SubS0 ! The debugging option really helped. It pointed as my Draft folder being responsible. I simply removed it as my set postponed = "+Draft" and the messages from IMAP disappeared. Thing is, that folder does indeed exist in the server so I guess I was not subscribed to it ? Anyhow, I will mark the thread as solved. Thanks again !
Offline
Pages: 1