[Dovecot] dirsize quota in sql pass db?

Timo Sirainen tss at iki.fi
Thu Feb 5 18:44:29 EET 2009


On Thu, 2009-02-05 at 08:38 -0600, Ken A wrote:
> Timo Sirainen wrote:
> > On Feb 4, 2009, at 11:21 PM, Ken Anderson wrote:
> > 
> >> Is there a way to return a per user dirsize quota from a passdb sql
> >> lookup? If so, what is the syntax?
> > 
> > Yes, but only if you use prefetch userdb. Do you? If not, you'll need to 
> > return it from userdb.
> 
> So, prefetch userdb is all or none. My userdb is currently /etc/passwd 
> to keep sendmail and other legacy stuff happy. I used fs quota, but am 
> now moving INBOX to a different (faster) partition, which breaks fs 
> quota reporting in things like squirrelmail.
> Dovecot is 1.0.5
> What would you suggest?

Since you already have your users' passwords in SQL, why not just put
the rest of the info there as well (and have it duplicated
in /etc/passwd for Sendmail)?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090205/cd836319/attachment.bin 


More information about the dovecot mailing list