18 Nov
2008
18 Nov
'08
3:36 p.m.
Hi,
the configuration of my Dovecot 1.1.3 quota plugin looks like this:
quota_rule = *:storage=1G quota_rule2 = *:messages=1337
this leads to the following GETQUOTAROOT response:
01 GETQUOTAROOT INBOX
- QUOTAROOT "INBOX" "mbraun quota"
- QUOTA "mbraun quota" (STORAGE 6553 1048576 MESSAGES 122 1337) 01 OK Getquotaroot completed.
RFC2087 (http://www.faqs.org/rfcs/rfc2087.html) describes the response like as:
STORAGE: Sum of messages' RFC822.SIZE, in units of 1024 octets MESSAGE: Number of messages
As you can see, the response "MESSAGES" differs from the specified "MESSAGE" which leads to parsing issues on RFC compliant IMAP client implementations. Using *:message=1337 throws a configuration error on Dovecot startup.
dovecot-1.1.6/src/plugins/quota/quota.h /* Number of messages. */ #define QUOTA_NAME_MESSAGES "MESSAGES"
Greetings, Martin