Charlie Watts writes:
> That's fine; I understand it coming from maildirsize ...
>
> But because maildrop already has to read and write maildirsize, why does
> maildrop need the hint in .mailfilter ?
Because maildirsize initially does not exist, in a new maildir.
> If maildirsize is the authoritative place for the quota, why doesn't
> maildrop read the quota from it?
maildrop isn't something that's exclusively tied with sqwebmail, and used
for its own purposes. From a standalone mail filter's point of view,
maildrop's behavior is The Right Thing To Do[tm]. However, once sqwebmail
enters the picture, several complications are introduced.
For one thing, maildir quotas can now be set from other sources (LDAP and,
perhaps, mysql), something that maildrop by itself cannot handle. Hence the
need to explicitly initialize the quota.
--
Sam