[Dovecot] Dovecot shared quota with Maildir
Jorgen Lundman
lundman at lundman.net
Tue Mar 10 04:59:24 EET 2009
Since I could issue an LDAP query for
(&(uidNumber=%uid)(gidNumber=%gid)) for homeDirectory to retrieve all
home directory paths, and associated mailDirSize files, I wonder if I
could extend dovecot to allow us to handle shared quota like the
fs-quota used to work.
Using symlinks between accounts would very quickly deteriorate.
Lund
Jorgen Lundman wrote:
>
> Hello list,
>
> We are in the process of exploring the idea of moving from UFS with
> fs-quota to using softquotas in Dovecot (probably Maildir type, stored
> in LDAP, all ontop of NFS).
>
> I have it setup, and it works rather well so far.
>
> But there is one situation we can currently support, which I can not see
> a solution for with soft-quotas.
>
> Generally customers get 1 email, with 1 quota.
>
> But it is also possible for customers to get 1 quota, but create
> multiple mail accounts, all sharing the same quota. This is done by
> using the same UID for each account when using fs-quota.
>
> (It is not that each account gets a fraction of the quota, but that all
> accounts add up to the one quota).
>
> Is this still possible to do with soft-quotas. To share one set. Dovecot
> would have to go count files in multiple mail-directories so I would
> guess no.
>
> Lund
>
--
Jorgen Lundman | <lundman at lundman.net>
Unix Administrator | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo | +81 (0)90-5578-8500 (cell)
Japan | +81 (0)3 -3375-1767 (home)
More information about the dovecot
mailing list