Re: 2.4.17 --> 2.5.3 Delayed expunge?

2016-10-13 Thread Sergey via Info-cyrus
On Wednesday 12 October 2016, Sergey via Info-cyrus wrote:

> I'm wrong, "expunge_mode: immediate" works. I was expecting
> quick delete, but it is slow: about 30 seconds or more.

and a lot time for big mailboxes: some minutes.

-- 
Regards, Sergey

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


failed repair quota: quota root does not exist

2016-10-13 Thread Sergey via Info-cyrus
Hello.

I was encountered with the problem of updating quota:

# su -l cyrus -s /bin/bash -c "/usr/lib/cyrus/quota -d my.dom -f"
failed reading quota record for 'my.dom!u': Quota root does not exist
failed building quota list for 'my.dom!': System I/O error: No such file or 
directory

Cyrus-IMAP 2.5.9 with virtual domains enabled. The problem
exists only on one of the domains. Per user quota repair for
broken domain works. How can I restore the ability to restore
the quota globally ?

-- 
Regards, Sergey

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: 2.4.17 --> 2.5.3 Delayed expunge?

2016-10-13 Thread Andrew Morgan via Info-cyrus

On Thu, 13 Oct 2016, Sergey via Info-cyrus wrote:


On Wednesday 12 October 2016, Sergey via Info-cyrus wrote:


I'm wrong, "expunge_mode: immediate" works. I was expecting
quick delete, but it is slow: about 30 seconds or more.


and a lot time for big mailboxes: some minutes.


If I remember correctly, this "lazy" delete of message files is a 
performance optimization so that IMAP clients don't have to wait for the 
deletion to happen.  Also, expunged messages don't count against the 
mailbox quota.


Andy

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus