<<< Date Index >>>     <<< Thread Index >>>

imap_check_subscribed vs mailboxes



Hi,

I would like to use my gmail account via IMAP with mutt. I do not want to
update my mailboxes variable manually, so I had to add

set imap_check_subscribed = yes

to my .muttrc.
The problem is the following: imap_check_subscribed adds [Gmail]/All Mail
and [Gmail]/Spam boxes to my mailboxes variable which is quite annoying. I
tried to remove them with

unmailboxes '+[Gmail]/Spam' '+[Gmail]/All Mail'

but I got no luck. So I tried

account-hook gmail unmailboxes '+[Gmail]/Spam' '+[Gmail]/All Mail'
folder-hook INBOX unmailboxes '+[Gmail]/Spam' '+[Gmail]/All Mail'

assuming running unmailboxes after imap_check_subscribed helps but still
no luck.

Please let me know if you know any solution for the problem described
above. Thanks in advance!