Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
1  
Sniffing around here: faqs.org/rfcs/rfc2087.html –  Amanda May 3 '11 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 '12 at 17:54
add comment

1 Answer 1

up vote 5 down vote accepted

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
share|improve this answer
    
Bingo. ('OK', [['"INBOX" "ROOT"'], ['"ROOT" (STORAGE 206431 256000)']]) ... so Thunderbird is not wrong. –  Amanda May 3 '11 at 15:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.