I have been using offlineimap for ages and for some reason, i wasn't using the subscribedonly flag in my configuration. Since I have pretty big email archives, I figured it was a good idea to enable that. However, it didn't work because my "INBOX" folder didn't show up as subscribed, which is very weird.

Even weirder is that Thunderbird (which I don't generally use except to edit does subscription settings) didn't allow me to change the INBOX subscription settings.

So with a little help from Wikipedia and a Stack Overflow, I fired up gnutls and fixed my problem by hand:

$ gnutls-cli imap.koumbit.net -p 993
[...]
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
a001 login anarcat@koumbit.org XXXXXXXXXXX
a001 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE QUOTA] Logged in
A SUBSCRIBE "INBOX"
A OK Subscribe completed.
A LOGOUT
* BYE Logging out
A OK Logout completed.
- Peer has closed the GnuTLS connection

The A LSUB "" "*" command may also be useful here.

Thank you, old plaintext internet protocols!

Comments on this page are closed.
Created . Edited .