Vincent Lefevre put forth on 3/12/2011 9:51 AM:

>     The maximal size in bytes of an individual virtual(8) mailbox or
>     maildir file, or zero (no limit).
>     ^^^^^^^^^^^^
> 
> Is it a bug in the documentation?

No, it's not a bug.  As you know maildir storage format stores one email
_per file_.  virtual_mailbox_limit is a _per file_ size restriction.
With maildir storage it will prevent individual emails (individual
files) greater than (default: 51200000) in size being written into the
maildir directory, but it will not limit the size of the parent
directory, which is what I think you're referring to as a "user mailbox".

This restriction has its roots in mbox format storage.  Since mbox is
one single file, virtual_mailbox_limit has the effect of a simple quota
enforcer, as it won't write new mail to an mbox file if the resulting
file size would be greater than (default: 51200000).

virtual_mailbox_limit is essentially useless with maildir storage.  As
others mentioned you need to use a delivery agent that can enforce
quotas with maildir storage, or you need to enable filesystem quotas if
your filesystem supports quotas (many do not).

-- 
Stan

Reply via email to