[ python-Bugs-1005933 ] imaplib.IMAP4.getquotaroot error
SourceForge.net
noreply at sourceforge.net
Tue Aug 10 03:27:46 CEST 2004
Bugs item #1005933, was opened at 2004-08-09 22:31
Message generated for change (Comment added) made by pierslauder
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: Closed
Resolution: Accepted
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
----------------------------------------------------------------------
>Comment By: Piers Lauder (pierslauder)
Date: 2004-08-10 11:27
Message:
Logged In: YES
user_id=196212
change checked into CVS
----------------------------------------------------------------------
Comment By: Piers Lauder (pierslauder)
Date: 2004-08-10 10:59
Message:
Logged In: YES
user_id=196212
You are right - it looks as though the getquotaroot code was
copied from the
getquota code above it without being modified properly. Will
fix. Thanks!
----------------------------------------------------------------------
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