[Dovecot] Filesystem quotas

Eduardo Casarero
Sun, 09 Oct 2011 19:37:33 -0000

2011/10/9 Steve Fatula <compconsultant at yahoo.com>

> I am wondering if I really need to use dovecot quota functions or not.
> Assume for the moment, that, each system user has a quota defined using
> Linux quotas, and that the Maildir is within their quota limited directory.
> So, any mail (or files created by the user etc) that would exceed the quota
> obviously can't be created.
>
> In such an environment, is there any advantage to implementing the same
> quota already defined in the filesystem via dovecot? Or, can I just make
> things simpler and ignore dovecot quotas? Assuming I keep the index and
> control files out of the quota limited directories.
>
> I presume if exceeding filesystem quota, the mail will not be delivered of
> course. If using lmtp, I presume it stays in the queue to retry later for
> some period of time.
>
> Steve
>

But if you dont use quotas how do you know if the user is out of space? Or
does the user gets a notification that it's running out of space, before you
start rejecting emails?

Eduardo.