[Dovecot] Maildir Quota backend
Ioannis Zachariadis
izach at forthnet.gr
Tue Jan 23 12:39:37 UTC 2007
Hi,
I've noticed that in the maildir backend for the quota plugin the quota limit is being read
in kilobytes. In the quota-maildir.c at maildir_quota_init() , line 550 (rc18)
if (strncmp(*args, "storage=", 8) == 0) {
size = strtoull(*args + 8, NULL, 10) * 1024;
if (size != 0)
root->message_bytes_limit = size;
root->master_message_limits = TRUE;
}
The value that's being read from storage is supposed to be in kB, at least that's what I
understand from the wiki, and then the value of size is stored in bytes.
thanks
--
giannis.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dovecot.org/pipermail/dovecot/attachments/20070123/11633b35/attachment.htm
More information about the dovecot
mailing list