New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0013740: Reopen Bug #0013512 - Wrong Quota in Admin panel for Cyrus Imap Backend #6796

Gloirin opened this Issue Jun 9, 2018 · 2 comments


None yet
1 participant

Gloirin commented Jun 9, 2018

Reported by lab-at-nohl on 31 Jan 2018 19:09

Version: 2017.08.11 Community Edition

Fix is not sufficient. And interferes with other code.

Mail Quota uses three different units atm.

  • IMAP command QUOTA = Kilobytes (RFC822.SIZE, in units of 1024 octets, see RFC 2087)
  • Tine 2.0 GUI = Megabytes (full integer means MByte)
  • DB and Ldap backends = Bytes

Your fix convert between MByte and Byte only. It works for DB/ldap backends only (on updating cache). It doesn't harm because other backends do not store quota on update cache (they rely only on IMAP-Quota).

Created patch for Cyrus-Backend. Can't estimate effects on others (don't think so):

Additional information: Create a new ticket because I'm not allowed to reopen existing!

@Gloirin Gloirin added this to the 2018.02.3 Community Edition milestone Jun 9, 2018

@Gloirin Gloirin self-assigned this Jun 9, 2018

@Gloirin Gloirin closed this Jun 9, 2018


This comment has been minimized.

Gloirin commented Jun 10, 2018

Related to #6684


This comment has been minimized.

Gloirin commented Jun 11, 2018

Comment posted by pschuele on 15 Mar 2018 14:03

pull request has already been merged - thanks for that.

i also allowed reporters to re-open their issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment