Hello,

Thanks for the patch!

On Sun, 9 Sep 2007, Timo Sirainen wrote:

> On Fri, 2007-08-31 at 17:42 -0400, Alan Ferrency wrote:
> > [EMAIL 
> > PROTECTED]:<snip>:3007:1000::/usr/boxes/username/example.com::userdb_mail=mbox:~/test^/.imap:INBOX=~/test
> >  userdb_uid=3007 userdb_gid=1000 
> > userdb_home=/usr/boxes/username/example.com userdb_quota=dirsize:storage=100
>
> Those userdb_uid/gid/home aren't needed.

This is a passdb file, used with userdb prefetch for pop and imap
protocols (as well as being used directly as a userdb for the lda). They
still aren't needed?

> > Aug 31 16:44:13 www2 dovecot: IMAP([EMAIL PROTECTED]): file quota-
> > dirsize.c: line 180 (quota_count_path_add): assertion failed:
> > (!is_file)
>
> This should fix it: http://hg.dovecot.org/dovecot-1.0/rev/a3f2f00cbd7c

Thanks! That works great, and does a much better job than my ad-hoc
workaround.

An unrelated question:

I am looking for support in the deliver lda for a "maximum message size"
quota feature, which is configurable per user, like the rest of the
dovecot quota plugin. I haven't found such a feature documented
anywhere, and I'm having trouble following the quota code enough to
figure out how to add this feature.

Do you have any comments on whether you think this would be easy or
difficult to add, and where it would be best to put it?

Thanks,

Alan Ferrency
pair Networks, Inc.
[EMAIL PROTECTED]


Reply via email to