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


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


Re: 2.4.17 --> 2.5.3 Delayed expunge?

2016-10-11 Thread Sergey via Info-cyrus
On Tuesday 11 October 2016, Patrick Boutilier via Info-cyrus wrote:

> > | The default for the imapd.conf(5) configuration option expunge_mode
> > | has changed from default to delayed.
> >
> > I attempt to use "default" and "immediate" values for expunge_mode but
> > messages remains to be on file system. This creates problems for users
> > with overquoted mailboxes because these messages are included in quota.
> 
> Are you sure that the messages are actually being expunged and not just 
> deleted from the client end?

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

-- 
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-11 Thread Patrick Boutilier via Info-cyrus

On 10/11/2016 10:07 AM, Sergey via Info-cyrus wrote:

On Tuesday 11 October 2016, Patrick Boutilier via Info-cyrus wrote:


http://www.cyrusimap.org/imap/download/release-notes/2.5/x/2.5.0.html#imap-relnotes-2-5-0-upgrading


Thanks. I see what link unchanged but redirection is not happening now.
It can be read now.

| The default for the imapd.conf(5) configuration option expunge_mode
| has changed from default to delayed.

I attempt to use "default" and "immediate" values for expunge_mode but
messages remains to be on file system. This creates problems for users
with overquoted mailboxes because these messages are included in quota.


Are you sure that the messages are actually being expunged and not just 
deleted from the client end?






Btw, it may be worth it to make the option for ignore expunged messages
in quota ?



<>
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-11 Thread Sergey via Info-cyrus
On Tuesday 11 October 2016, Patrick Boutilier via Info-cyrus wrote:

> http://www.cyrusimap.org/imap/download/release-notes/2.5/x/2.5.0.html#imap-relnotes-2-5-0-upgrading
 
Thanks. I see what link unchanged but redirection is not happening now.
It can be read now.

| The default for the imapd.conf(5) configuration option expunge_mode
| has changed from default to delayed. 

I attempt to use "default" and "immediate" values for expunge_mode but
messages remains to be on file system. This creates problems for users
with overquoted mailboxes because these messages are included in quota.

Btw, it may be worth it to make the option for ignore expunged messages
in quota ?

-- 
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-11 Thread Patrick Boutilier via Info-cyrus

On 10/11/2016 07:46 AM, Sergey via Info-cyrus wrote:

On Saturday 19 September 2015, Patrick Boutilier wrote:


https://docs.cyrus.foundation/imap/release-notes/2.5/x/2.5.0.html



Looks for Default Change: delete_mode  and Default Change:
expunge_mode


Hm. Link is moved now and possible changed. How can I found
changes for 2.4 --> 2.5 update ? I look to redirected page
but still not found desired section.

I ran into this same problem: messages are not deleted from
mail folders immediately. I added "expunge_mode: immediate"
to imapd.conf but it does not help. :-( I use Cyrus-IMAP 2.5.9
now.



http://www.cyrusimap.org/imap/download/release-notes/2.5/x/2.5.0.html#imap-relnotes-2-5-0-upgrading
<>
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-11 Thread Sergey via Info-cyrus
On Saturday 19 September 2015, Patrick Boutilier wrote:

> https://docs.cyrus.foundation/imap/release-notes/2.5/x/2.5.0.html

> Looks for Default Change: delete_mode  and Default Change:
> expunge_mode  
 
Hm. Link is moved now and possible changed. How can I found
changes for 2.4 --> 2.5 update ? I look to redirected page
but still not found desired section.

I ran into this same problem: messages are not deleted from
mail folders immediately. I added "expunge_mode: immediate"
to imapd.conf but it does not help. :-( I use Cyrus-IMAP 2.5.9
now.

-- 
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?

2015-09-19 Thread Patrick Goetz
(I tried sending this message directly to Patrick B., and it was 
rejected because utexas.edu apparently has a high spam score? Anyway...)

You have been extremely helpful:  thank you very much!

In particular, I was looking at the documentation here:

http://www.cyrusimap.org/docs/cyrus-imapd/2.5.3/man.php

which is the same old incomplete stuff that we were dealing with before, 
and was just about to sift through the mailing list archive to find out 
where the real documentation is being developed these days.

To avoid confusion for armchair cyrus admins like myself, would it be 
possible to include a note at http://www.cyrusimap.org/docs
pointing people to the new and improved documentation at

   https://docs.cyrus.foundation/imap ?


On 9/19/2015 9:50 AM, Patrick Boutilier wrote:
> On 09/19/2015 11:41 AM, Patrick Goetz wrote:
>> Upgrading from 2.4.17 to 2.5.3 I kept the same configuration files, save
>> for changing the names of some deprecated variables in
>> /etc/cyrus/imapd.conf.
>>
>>
>> Now I am noticing some unexpected behavior; namely when messages are
>> deleted (in Thunderbird, Trash emptied and folders compacted) the
>> messages seem to persist in ~/cyrus/user/my_username
>>
>> Was this the behavior before, and I just didn't notice it because I'm
>> only ever looking in the mail folders when debugging, or is this a new
>> feature of 2.5.x?
>>
>> In particular, I notice that the /etc/cyrus/cyrus.conf file appears to
>> have these new fields which I didn't have before:
>>
>> # Expire data older than 28 days.
>> # deleteprune cmd="cyr_expire -E 4 -D 28" at=0430
>> # expungeprune cmd="cyr_expire -E 4 -X 28" at=0445
>>
>>
>> I commented them out, thinking these were for removing old mail no
>> matter what; i.e. deleted or not.  Am I suddenly getting a delayed
>> expunge feature that I didn't have in 2.4.17, hence need to uncomment
>> the pruning lines above?
>>
>> Thanks.
>
>
> https://docs.cyrus.foundation/imap/release-notes/2.5/x/2.5.0.html
>
>
> Looks for Default Change: delete_mode  and Default Change: expunge_mode
>   . Also, Underscores in cmd Names in cyrus.conf  :-)
>
>
>
>
>
>
>
>>
>> 
>> 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
>>
>
>
>
> 
> 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
>

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


2.4.17 --> 2.5.3 Delayed expunge?

2015-09-19 Thread Patrick Goetz
Upgrading from 2.4.17 to 2.5.3 I kept the same configuration files, save 
for changing the names of some deprecated variables in 
/etc/cyrus/imapd.conf.


Now I am noticing some unexpected behavior; namely when messages are 
deleted (in Thunderbird, Trash emptied and folders compacted) the 
messages seem to persist in ~/cyrus/user/my_username

Was this the behavior before, and I just didn't notice it because I'm 
only ever looking in the mail folders when debugging, or is this a new 
feature of 2.5.x?

In particular, I notice that the /etc/cyrus/cyrus.conf file appears to 
have these new fields which I didn't have before:

   # Expire data older than 28 days.
   # deleteprune cmd="cyr_expire -E 4 -D 28" at=0430
   # expungeprune cmd="cyr_expire -E 4 -X 28" at=0445


I commented them out, thinking these were for removing old mail no 
matter what; i.e. deleted or not.  Am I suddenly getting a delayed 
expunge feature that I didn't have in 2.4.17, hence need to uncomment 
the pruning lines above?

Thanks.


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?

2015-09-19 Thread Patrick Boutilier

On 09/19/2015 11:41 AM, Patrick Goetz wrote:

Upgrading from 2.4.17 to 2.5.3 I kept the same configuration files, save
for changing the names of some deprecated variables in
/etc/cyrus/imapd.conf.


Now I am noticing some unexpected behavior; namely when messages are
deleted (in Thunderbird, Trash emptied and folders compacted) the
messages seem to persist in ~/cyrus/user/my_username

Was this the behavior before, and I just didn't notice it because I'm
only ever looking in the mail folders when debugging, or is this a new
feature of 2.5.x?

In particular, I notice that the /etc/cyrus/cyrus.conf file appears to
have these new fields which I didn't have before:

# Expire data older than 28 days.
# deleteprune cmd="cyr_expire -E 4 -D 28" at=0430
# expungeprune cmd="cyr_expire -E 4 -X 28" at=0445


I commented them out, thinking these were for removing old mail no
matter what; i.e. deleted or not.  Am I suddenly getting a delayed
expunge feature that I didn't have in 2.4.17, hence need to uncomment
the pruning lines above?

Thanks.



https://docs.cyrus.foundation/imap/release-notes/2.5/x/2.5.0.html


Looks for Default Change: delete_mode  and Default Change: expunge_mode 
 . Also, Underscores in cmd Names in cyrus.conf  :-)











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



<>
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