[ python-Bugs-1005933 ] imaplib.IMAP4.getquotaroot error

SourceForge.net noreply at sourceforge.net
Mon Aug 9 19:33:12 CEST 2004


Bugs item #1005933, was opened at 2004-08-09 08:31
Message generated for change (Settings changed) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1005933&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Thierry FLORAC (tflorac)
>Assigned to: Piers Lauder (pierslauder)
Summary: imaplib.IMAP4.getquotaroot error

Initial Comment:
I think there is an error in the
imaplib.IMAP4.getquotaroot method available in Python
2.3.3 (as actually available in Debian GNU/Linux).
In line 446 of file "imaplib.py", we can find :

  typ, dat = self._simple_command('GETQUOTA', mailbox)

Instead and according to RFCs, I think we should have :

  typ, dat = self._simple_command('GETQUOTAROOT', mailbox)


Using Netscape Messaging Server , the first version
replies with a "Permission denied" error (while logged
in as a common user) ; the second version works correctly :

  >>> cn.getquotaroot('INBOX')
  ('OK', [['INBOX user/tflorac'], ['user/tflorac
(STORAGE 981 51200)']])


Thanks for your work,

  Thierry


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1005933&group_id=5470


More information about the Python-bugs-list mailing list