[Dovecot] dovecot-lda setting quota rules
Lazy
lazy404 at gmail.com
Wed Jul 18 04:33:07 EEST 2012
Hi,
in my setup dovecot-lda reads user and home from environment, and
dosn't perform userdb lookup
Jul 18 03:09:47 thebe2 dovecot: lda(lazytest_test): Debug: Effective
uid=300, gid=300, home=/vmail/la/lazytest_test
Jul 18 03:09:47 thebe2 dovecot: lda(lazytest_test): Debug: Quota root:
name=User quota backend=maildir args=
Jul 18 03:09:47 thebe2 dovecot: lda(lazytest_test): Debug: Quota
warning: bytes=0 (95%) messages=0 reverse=no command=quota-warning 95
lazytest_test
Jul 18 03:09:47 thebe2 dovecot: lda(lazytest_test): Debug: Quota
warning: bytes=0 (80%) messages=0 reverse=no command=quota-warning 80
lazytest_test
Jul 18 03:09:47 thebe2 dovecot: lda(lazytest_test): Debug: Namespace
inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes,
subscriptions=yes l
ocation=maildir:~/Maildir:INDEX=/var/dovecot_indexes/vmail/la/lazytest_test
Jul 18 03:09:47 thebe2 dovecot: lda(lazytest_test): Debug: maildir++:
root=/vmail/la/lazytest_test/Maildir,
index=/var/dovecot_indexes/vmail/la/lazytest_tes
t, control=, inbox=/vmail/la/lazytest_test/Maildir, alt=
Jul 18 03:09:47 thebe2 dovecot: lda(lazytest_test): Debug: userdb
lookup skipped, username taken from USER environment
Jul 18 03:09:47 thebe2 dovecot: lda(lazytest_test): Debug: Quota root:
name=User quota backend=maildir args=
I wan't it to stay that way. The problem is that it dosn't update the
quota rules in Maildir when quota is changed in userdb.
I have the rules avaiable in qmail-lda's environment, but I need an
idea on how to feed the quota rule string to quota plugin without
doing userdb lookup.
What whould be the best way to do this, maybe in
plugins/quota/quota.c:quota_root_add_rules() ?
Regards,
Michal Grzedzicki
More information about the dovecot
mailing list