[Dovecot] MESSAGE Quota not RFC2087 compliant
Braun, Martin
martin.braun at open-xchange.com
Tue Nov 18 16:36:08 EET 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Braun,Martin.vcf
Type: text/x-vcard
Size: 675 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20081118/5d6b07bf/attachment.vcf
More information about the dovecot
mailing list