[Dovecot] Recalculate quota when quota=dict ?
Hi,
My current setting for quota is: plugin { #quota = dirsize:User quota #quota = maildir:User quota quota = dict:User quota::proxy::quota #quota = fs:User quota }
I have used mb2md.pl and copied result files manually to a desired mail folder - but quota was not recalculated. And it seems, that no matter what I do - the quota usage remains the same. I tried uncommenting line with: quota = maildir:User quota but it did not help.
Any other idea how to recalculate quota?
Greetings,
Jacek Osiecki joshua@ceti.pl GG:3828944 I don't want something I need. I want something I want.
W dniu 2012-02-16 17:20, Timo Sirainen napisał(a):
On 16.2.2012, at 17.35, Jacek Osiecki wrote:
Any other idea how to recalculate quota? With v2.x you can simply do: doveadm quota recalc -u username
Great,
That's exactly what I needed :) Sorry, it was lame - I should have found it in wiki2...
By the way: what might have caused such a warning?
root@mail2.hybrid.pl /tmp/transfer> doveadm quota recalc -u joshua@hybrid.pl doveadm(joshua@hybrid.pl): Warning: Created dotlock file's timestamp is different than current time (1329464622 vs 1329464672): /var/mail/mail/hybrid.pl/joshua/.mailing.ekg/dovecot-uidlist
Greetings,
Jacek Osiecki
On 17.2.2012, at 11.51, joshua@hybrid.pl wrote:
By the way: what might have caused such a warning?
root@mail2.hybrid.pl /tmp/transfer> doveadm quota recalc -u joshua@hybrid.pl doveadm(joshua@hybrid.pl): Warning: Created dotlock file's timestamp is different than current time (1329464622 vs 1329464672): /var/mail/mail/hybrid.pl/joshua/.mailing.ekg/dovecot-uidlist
Does it keep happening? Is this a local filesystem or NFS? Shouldn't happen unless remote storage server's clock and local server's clock aren't synced.
I have seen this behaviour with a local ext4 iSCSI filesystem. When the system is hammered by I/O (example, perfoming a full backup), I also see those messages in the log.
Regards
Javier
On 17.2.2012, at 11.51, joshua@hybrid.pl wrote:
By the way: what might have caused such a warning?
root@mail2.hybrid.pl /tmp/transfer> doveadm quota recalc -u joshua@hybrid.pl doveadm(joshua@hybrid.pl): Warning: Created dotlock file's timestamp is different than current time (1329464622 vs 1329464672): /var/mail/mail/hybrid.pl/joshua/.mailing.ekg/dovecot-uidlist Does it keep happening? Is this a local filesystem or NFS? Shouldn't happen unless remote storage server's clock and local server's clock aren't synced.
Maybe http://hg.dovecot.org/dovecot-2.1/rev/2ea29ab6f10f fixes it?
On Tue, 2012-02-21 at 08:01 +0100, Javier Miguel Rodríguez wrote:
I have seen this behaviour with a local ext4 iSCSI filesystem. When the system is hammered by I/O (example, perfoming a full backup), I also see those messages in the log.
Regards
Javier
On 17.2.2012, at 11.51, joshua@hybrid.pl wrote:
By the way: what might have caused such a warning?
root@mail2.hybrid.pl /tmp/transfer> doveadm quota recalc -u joshua@hybrid.pl doveadm(joshua@hybrid.pl): Warning: Created dotlock file's timestamp is different than current time (1329464622 vs 1329464672): /var/mail/mail/hybrid.pl/joshua/.mailing.ekg/dovecot-uidlist Does it keep happening? Is this a local filesystem or NFS? Shouldn't happen unless remote storage server's clock and local server's clock aren't synced.
W dniu 2012-02-21 02:13, Timo Sirainen napisał(a):
On 17.2.2012, at 11.51, joshua@hybrid.pl wrote:
By the way: what might have caused such a warning? root@mail2.hybrid.pl /tmp/transfer> doveadm quota recalc -u joshua@hybrid.pl doveadm(joshua@hybrid.pl): Warning: Created dotlock file's timestamp is different than current time (1329464622 vs 1329464672): /var/mail/mail/hybrid.pl/joshua/.mailing.ekg/dovecot-uidlist
Does it keep happening? Is this a local filesystem or NFS? Shouldn't happen unless remote storage server's clock and local server's clock aren't synced.
OK, that's the case - /var/mail is stored on remote NFS. I'll check if I have time properly set, but if so - I'll probably have to live with it (I have no influence on NFS server).
Greetings,
Jacek Osiecki
participants (4)
-
Jacek Osiecki
-
Javier Miguel Rodríguez
-
joshua@hybrid.pl
-
Timo Sirainen