7

I'm trying to troubleshoot a frustrating inbox quota issue. Thunderbird says my inbox is 80% full. My ISP says it isn't. We made some tweaks and I should have 2G available (it had been "unlimited"). Thunderbird, unfortunately, still reports that I'm using 206456 of my 256000 KB limit on Quota Root "ROOT."

Is there a command line method I can use to find out what my mail host is telling Thunderbird? Can Mutt tell me?

2
  • 2
    Sniffing around here: faqs.org/rfcs/rfc2087.html
    – Amanda
    May 3, 2011 at 13:52
  • You have 2G of space, but the root storage is limited to 256M? I saw the same error and tried to reduce my inbox which didn't help. However, when I created another folder under Archive and moved most of my mail from the default archive folder to the new folder, it resolved the problem (though I had to take down thunderbird and restart to force thunderbird to re-check the quota.
    – user79255
    Jul 25, 2012 at 17:54

2 Answers 2

6

Perhaps the Python imaplib library could help. Launch a python console from the terminal with python. Then, create an IMAP connection with the following commands:

>>> import imaplib
>>> conn = imaplib.IMAP4('hostname')
>>> conn.login('username', 'password')

If your IMAP server uses SSL, use the IMAP4_SSL constructor instead of IMAP4. You can then use the getquotaroot or getquota methods on the connection. For example:

>>> conn.getquotaroot('INBOX')
>>> conn.getquota('quota root') # using the root from the previous command
1
  • Bingo. ('OK', [['"INBOX" "ROOT"'], ['"ROOT" (STORAGE 206431 256000)']]) ... so Thunderbird is not wrong.
    – Amanda
    May 3, 2011 at 15:39
1

Using openssl :

openssl s_client -connect example.org:imap -starttls imap

then log in when you get a prompt :

a LOGIN [email protected] password

and finally :

a GETQUOTA ""

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .