Dovecot - IMAP Quota

Are IMAP/Dovecot quotas something supported in Virtualmin, or are we on our own to configure that?

Status: 
Closed (fixed)

Comments

Howdy -- When configuring a quota within Virtualmin, quotas are setup on the user's individual system accounts.

If a user goes over their limit, the sender of that email would receive a bounce notification.

You can also configure quota warnings in Limits and Validation -> Disk Quota Monitoring.

However, there isn't anything quota-specific configured in Dovecot, outside of the standard user quotas that are setup on the accounts.

What quota functionality is it that you're interested in from there?

I would like quotas to be reported on the IMAP side of things. My webmail client and Apple Mail aren't reporting any type of quota/limits, just the total disk space. From reading the Dovecot documentation, it seems the quota plugin has to be enabled, and configuration seems a bit involved...am I missing something in Virtualmin that this should be working?

Virtualmin doesn't currently support configuring quotas within IMAP specifically, only at the filesystem level.

I'll look into that though to see if it's something we'd be able to support down the road.

In the meantime, you could certainly manually enable any Dovecot plugins you want. Doing a quick browse of the documentation there, it looks like Dovecot has a Quota plugin that supports what they call a "filesystem" backend, which may mean it's simply able to read the quotas associated with a given user.

If that's the case, it may be very simple to get those working.

The documentation for that is available here:

http://wiki2.dovecot.org/Quota

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

I'll do some testing on that, but if you try tinkering with it yourself, let us know what you think of it.

Edit: Added additional quota documentation link