[Dovecot] Maildirsize automatically (re)build
Jan van den Berg
jan.vandenberg at isp.solcon.nl
Mon Mar 10 14:39:37 EET 2008
Hi,
Im testing with 1.1RC1. I read here:
http://wiki.dovecot.org/Quota/Maildir
"If you configure quota limits in Dovecot (e.g.
quota=maildir:storage=102400(kilobytes)), Dovecot makes sure that this
header is kept up to date. If the file does not exist, it's simply
rebuilt."
This is my query:
password_query = SELECT username as user,
username as userdb_user, passwd as password,
1001 as userdb_uid, 1001 as userdb_gid,
concat('maildir:storage=', quota, 'M:ignore=Spam\ e\-mail') AS
userdb_quotarule,
'Trash:storage=20M' as userdb_quota_rule2
FROM mailboxen
WHERE username = '%n'
Also in the main config I use:
mail_plugins: quota imap_quota
plugin:
quota: maildir
So I use maildir:storage in my config. However when I delete the
maildirsize (for testing purposes) it doesn't get automatically
recreated? According to the Wiki it should right?
Cheers,
Jan
More information about the dovecot
mailing list