[GH-ISSUE #28] Quota #23

Closed
opened 2026-02-26 09:35:15 +03:00 by kerem · 3 comments
Owner

Originally created by @Shuro on GitHub (Oct 25, 2012).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/28

I have two Suggests according the Quota handling.

First: I was irritated with the Quota-Formfield. Only a Numberfield, no more description. What does that number mean? Byte? Kilobyte? Kilometers? Eggs? You should propably add a Label behind the field wo says that it is Byte, or, even better, a dropdown selection for kilo, mega or gigabyte (In the database should stand the byte amount, because compatibility to dovecot (or courier)).

Second Point: Maybe a database-Field for used_quota and Messages, so dovecot could write it into the database and in the mailbox-list you could ad a Progessbar how full the mailboxes are (Jquery and bootstrap has beautiful Progressbars).

Originally created by @Shuro on GitHub (Oct 25, 2012). Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/28 I have two Suggests according the Quota handling. First: I was irritated with the Quota-Formfield. Only a Numberfield, no more description. What does that number mean? Byte? Kilobyte? Kilometers? Eggs? You should propably add a Label behind the field wo says that it is Byte, or, even better, a dropdown selection for kilo, mega or gigabyte (In the database should stand the byte amount, because compatibility to dovecot (or courier)). Second Point: Maybe a database-Field for used_quota and Messages, so dovecot could write it into the database and in the mailbox-list you could ad a Progessbar how full the mailboxes are (Jquery and bootstrap has beautiful Progressbars).
kerem closed this issue 2026-02-26 09:35:15 +03:00
Author
Owner

@Shuro commented on GitHub (Mar 8, 2013):

Somehow i dont know if someone ever watch the issues....

<!-- gh-comment-id:14611879 --> @Shuro commented on GitHub (Mar 8, 2013): Somehow i dont know if someone ever watch the issues....
Author
Owner

@barryo commented on GitHub (Mar 8, 2013):

We do watch. Although we don't always have time to respond / they fall through the cracks :(

  • numberfield has been updated in our internal version to default to (configurable) MB. It also now has user friendly display of this information.
  • we have added DB fields for maildir size (and homedir size) in our internal version. We have also created scripts to take this information from the quota file or just calculate the directory size on the fly.

Can Dovecot update this information itself?

Our internal version will be pushed to GitHub something in Q2 2013.

<!-- gh-comment-id:14613013 --> @barryo commented on GitHub (Mar 8, 2013): We do watch. Although we don't always have time to respond / they fall through the cracks :( - numberfield has been updated in our internal version to default to (configurable) MB. It also now has user friendly display of this information. - we have added DB fields for maildir size (and homedir size) in our internal version. We have also created scripts to take this information from the quota file or just calculate the directory size on the fly. Can Dovecot update this information itself? Our internal version will be pushed to GitHub something in Q2 2013.
Author
Owner

@Shuro commented on GitHub (Mar 8, 2013):

Okay, thank you for the reply.
Yeah, dovecot can write the maildir-quota and the messagecount to database, the table for it looks like this, but could be modified in any way:

CREATE TABLE quota (
  username varchar(100) not null,
  bytes bigint not null default 0,
  messages integer not null default 0,
  primary key (username)
);

http://wiki2.dovecot.org/Quota/Dict

More information in the dovecot wiki, i don't know if courier also have such feature.

<!-- gh-comment-id:14615589 --> @Shuro commented on GitHub (Mar 8, 2013): Okay, thank you for the reply. Yeah, dovecot can write the maildir-quota and the messagecount to database, the table for it looks like this, but could be modified in any way: ``` CREATE TABLE quota ( username varchar(100) not null, bytes bigint not null default 0, messages integer not null default 0, primary key (username) ); ``` http://wiki2.dovecot.org/Quota/Dict More information in the dovecot wiki, i don't know if courier also have such feature.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ViMbAdmin-opensolutions#23
No description provided.