When is the maildir quota usages recalculated and written to the second line of the "maildirsize" file? I'm using 1.1.4, and I reset the quotas for my users by just taking the first line of their maildirsize file and deleting the rest. -- Ralf Hildebrandt (Ralf.Hildebrandt at charite.de) snickebo at charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de I'm looking for a job "A man who won't die for something is not fit to live." -Martin Luther King, Jr.
On Thu, 2008-10-09 at 22:01 +0200, Ralf Hildebrandt wrote:> When is the maildir quota usages recalculated and written to the > second line of the "maildirsize" file? > > I'm using 1.1.4, and I reset the quotas for my users by just taking > the first line of their maildirsize file and deleting the rest.Are the quotas wrong often? Dovecot uses the Maildir++ quota specifications: http://www.inter7.com/courierimap/README.maildirquota.html So the file is recalculated if it's a) >= file is 5120 bytes b) file is older than 15 mins and it contains more than two lines (header + the first value line) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20081009/64b98d30/attachment-0002.bin>
* Timo Sirainen <tss at iki.fi>:> On Thu, 2008-10-09 at 22:01 +0200, Ralf Hildebrandt wrote: > > When is the maildir quota usages recalculated and written to the > > second line of the "maildirsize" file? > > > > I'm using 1.1.4, and I reset the quotas for my users by just taking > > the first line of their maildirsize file and deleting the rest. > > Are the quotas wrong often? Dovecot uses the Maildir++ quota > specifications: > http://www.inter7.com/courierimap/README.maildirquota.html > > So the file is recalculated if it's > > a) >= file is 5120 bytes > > b) file is older than 15 mins and it contains more than two lines > (header + the first value line)That doesn't seem to work then. -- Ralf Hildebrandt (Ralf.Hildebrandt at charite.de) snickebo at charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de I'm looking for a job To sysadmin or not to sysadmin... that is the question, whether tis nobler in the minde to suffer the slings and arrowes of outragious fortune, or climb to the top of the building with a fucking high-power rifle and scope.