On Mon, May 21, 2001 at 03:19:37PM +0800, ywshum wrote:
> hi there,
>
> I'm using qmail-ldap-1.03-20010501.patch.
>
> I notice that when a single mail arrive for the first time for a user,
> the Maildir directory is created along with subdirectories. However, the
> file "maildirsize" is not created in the Maildir at all. It is only
> created when the second mail arrives.
>
> Isn't this a flaw?
>
The problem is that the Maildir is created after the quota is calculated.
It is not possible to create "maildirsize" in a nonexistant directory.
If everithing works, the size of the 1. mail will be checked. It should be
impossible to send bigger mails than the quota.
At the moment I can not test it, but the sourcecode seems to handle that
case correctly. (Please verify)
--
:wq Claudio