[Dovecot] maildri++ quota
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@charite.de) snickebo@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)
- Timo Sirainen tss@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@charite.de) snickebo@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.
On Thu, 2008-10-09 at 22:36 +0200, Ralf Hildebrandt wrote:
- Timo Sirainen tss@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.
How badly wrong are your quotas?
- Timo Sirainen tss@iki.fi:
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.
How badly wrong are your quotas?
Totally off. The recalculation after 15m doesn't work at all
-- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) snickebo@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 Microsoft Certified System Engineer is to information technology as a McDonalds Certified Food Specialist is to the culinary arts." -- Michael Bacarella
On Thu, 2008-10-09 at 23:30 +0200, Ralf Hildebrandt wrote:
- Timo Sirainen tss@iki.fi:
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.
How badly wrong are your quotas?
Totally off. The recalculation after 15m doesn't work at all
3-6 examples?
- Timo Sirainen tss@iki.fi:
How badly wrong are your quotas?
Totally off. The recalculation after 15m doesn't work at all
3-6 examples?
How about 15.000? My users get a lot of mail. All I see is NO update to the maildrisize file AFTER 24h!!!
-- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) snickebo@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de I'm looking for a job Executive summary: Never flush a blocked toilet, the mess only gets worse, clear the blockage, *then* flush. -- Victor Duchovni
- Ralf Hildebrandt Ralf.Hildebrandt@charite.de:
- Timo Sirainen tss@iki.fi:
How badly wrong are your quotas?
Totally off. The recalculation after 15m doesn't work at all
3-6 examples?
How about 15.000? My users get a lot of mail. All I see is NO update to the maildrisize file AFTER 24h!!!
Let me rephrase this. No update to the SUM in the 2nd line after 15m
I sent 100 Mails to an account, the "maildirsize"-file-lenght based recalculation seems to work
Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) snickebo@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de I'm looking for a job Wenn Unternehmen Lehrstühle spenden, dann frage ich mich, ob die nicht zu wenig Steuern zahlen, denn früher hätte der Staat davon den Lehrstuhl gestellt.
Same problem to me... :(
What can be the problem?
Ralf Hildebrandt ha scritto:
- Timo Sirainen tss@iki.fi:
How badly wrong are your quotas?
Totally off. The recalculation after 15m doesn't work at all
3-6 examples?
How about 15.000? My users get a lot of mail. All I see is NO update to the maildrisize file AFTER 24h!!!
--
Claudio Prono Systems Development @ Atpss.net Srl, Divisione Implementazione Sistemi Via San Bernardino, 17 - 10137 Torino (TO) - IT Tel +39-011.32.72.100 Fax +39-011.32.46.497 PGP Fingerprint: 75C2 4049 E23D 2FBF A65F 40DB EA5C 11AC C2B0 3647 Disclaimer: http://atpss.net/disclaimer
- Claudio Prono claudio.prono@atpss.net:
Same problem to me... :(
What can be the problem?
What I'm seeeing is this:
- people are (according to deliver & imap) over quota
- when I check the maildirsite file I see stuff like
744288000S 788888182 4815 -200635743 -15 -100099910 -14
Which - to me - means: Their limit is
744288000S they HAD 788888182S but removed 29 Mails with about 300000000S and should now be WELL below quota
-- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) snickebo@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de I'm looking for a job And others again have been told what a Unix would be and how it is working. If this people are extraterrestrial or an ancient mainframe-team of IBM (the difference is not that big), and they then try to build a Unix, you will get a AIX 2 and 3 - a hybride monster with green blood which will not kill you maybe, but when you look at the innwards you wish you where dead afterwards.
On Fri, 2008-10-10 at 10:51 +0200, Ralf Hildebrandt wrote:
- Claudio Prono claudio.prono@atpss.net:
Same problem to me... :(
What can be the problem?
What I'm seeeing is this:
- people are (according to deliver & imap) over quota
- when I check the maildirsite file I see stuff like
744288000S 788888182 4815 -200635743 -15 -100099910 -14
Which - to me - means: Their limit is
744288000S they HAD 788888182S but removed 29 Mails with about 300000000S and should now be WELL below quota
So the problem isn't really that the quota isn't recalculated / second line isn't updated, but that the existing values in maildirsize aren't summed up correctly?
How long have you been using Maildir++ quota? Has it been broken the entire time?
What does "GETQUOTAROOT INBOX" say with such a maildirsize file as you gave above? I just tried and it works correctly:
- QUOTA "" (STORAGE 476711 726843)
On Thu, 2008-10-09 at 23:33 +0300, Timo Sirainen wrote:
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)
Actually I forgot one important part about b): It's only done if user is over quota.
- Timo Sirainen tss@iki.fi:
a) >= file is 5120 bytes
b) file is older than 15 mins and it contains more than two lines (header + the first value line)
Actually I forgot one important part about b): It's only done if user is over quota.
Aha!
-- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) snickebo@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de I'm looking for a job "There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence." -- Jeremy S. Anderson
participants (3)
-
Claudio Prono
-
Ralf Hildebrandt
-
Timo Sirainen