I tried to verify this in the source code directly, but i got lost ;)

The RFCs say that GETROOTQUOTA is used to obtain information about quota
limitations like disk space, number of messages, number of blocks (the
latter, I know, isn't supported in courier-imap). I can see that
GETROOTQUOTA reports resource usage and limitation based on what
maildir_checkquota() "returns", but I got lost in the docheckquota()
code. 

Actually, shouldn't the limitation be imposed at authentication time,
when reading from the userdb.dat or from the external database?

Well, what I wanted to ask is wether courier-imap supports the
GETROOTQUOTA command and if it does, how can I verify that courier-imap
has read the quota information from the users database?

Here is the conversation with the imap server:

A001 login <<user>> <<password>>
A001 OK LOGIN Ok.
A002 getquotaroot "inbox"
* QUOTAROOT "." "ROOT"
* QUOTA "ROOT"
A002 OK GETQUOTAROOT Ok.
a003 logout
* BYE Courier-IMAP server shutting down
a003 OK LOGOUT completed

The quota string in the database is "300000S".

Thx,
georgeb


_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to