[Dovecot] Filesystem quota
Stian Jordet
liste+dovecot at jordet.net
Tue Mar 7 00:06:43 EET 2006
man, 06,.03.2006 kl. 23.58 +0200, skrev Timo Sirainen:
> On Mon, 2006-03-06 at 22:51 +0100, Stian Jordet wrote:
> > Hi,
> >
> > I've seen you commited a lot of quota work tonight. I'm still unable to
> > get the filesystem quota working, and I wonder if it's just me that is
> > stupid, or if theres a bug somewhere.
> >
> > I enable quota and imap_quota plugins, I set fs in my ldap-base for
> > quota, and logons. I then get this:
> >
> > dovecot: imap(ingvild): fs quota add storage dir = /home/ingvild/Maildir
> > dovecot: imap(ingvild): fs quota: mount path for /home/ingvild/Maildir
> > not found from /etc/mtab
>
> What OS? Does /home exist in /etc/mtab? What filesystem is it?
>
> I get this far in my Debian (I don't have quota enabled):
>
> quotactl(Q_GETQUOTA, /dev/hda1) failed: Invalid argument
Just for the fun of it, I tried hardcoding device_path and mount_path in
quota-fs.c (note, I can't really code c...) And then it actually worked.
Kind of:
* QUOTA "" (STORAGE 1507344384 8000000)
Which is obviously crazy.
root at buick:~/cvs/dovecot# quota ingvild
Disk quotas for user ingvild (uid 1001):
Filesystem blocks quota limit grace files quota limit grace
/dev/hda1 368004 2000000 2200000 1471 0 0
root at buick:~/cvs/dovecot#
That's more like it :)
Best regards,
Stian
More information about the dovecot
mailing list