[Dovecot] dirsize quota in sql pass db?

Ken A ka at pacific.net
Thu Feb 5 20:24:07 EET 2009


Timo Sirainen wrote:
> 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)?
> 

That makes sense.
Thanks much,
Ken


More information about the dovecot mailing list