Re: Problem with Cyrus 2.4.0 when move message to Mailbox Trash

2010-10-14 Thread Bron Gondwana
On Thu, Oct 14, 2010 at 04:26:30PM -0300, Lucas Zinato Carraro wrote:
> Hi, Bron
> 
> This patch works fine.

Great - so now I just have to fix your subscription issue :)

Bron.

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


Re: Problem with Cyrus 2.4.0 when move message to Mailbox Trash

2010-10-14 Thread Lucas Zinato Carraro
Hi, Bron

This patch works fine.

Regards
Zinato


On Wed, Oct 13, 2010 at 6:30 PM, Bron Gondwana  wrote:
> On Tue, Oct 12, 2010 at 06:21:36PM -0300, Lucas Zinato Carraro wrote:
>>   When i delete a message ( technically, move to trash ) one copy of message
>> is created in mailbox Trash but the message remains on INBOX.
>
> Ok - here's the patch that fixes this issue.
>
> It will be in the next release, and you can either pull it immediately
> from the git repository at git://git.cyrusimap.org/cyrus-imapd or you
> can apply from the attached file.
>
> Regards,
>
> Bron.
>

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


Re: Problem with Cyrus 2.4.0 when move message to Mailbox Trash

2010-10-13 Thread Bron Gondwana
On Tue, Oct 12, 2010 at 06:21:36PM -0300, Lucas Zinato Carraro wrote:
>   When i delete a message ( technically, move to trash ) one copy of message
> is created in mailbox Trash but the message remains on INBOX.

Ok - here's the patch that fixes this issue.

It will be in the next release, and you can either pull it immediately
from the git repository at git://git.cyrusimap.org/cyrus-imapd or you
can apply from the attached file.

Regards,

Bron.
>From e8592ae38b894016d7a4c19df3c099e11243b80e Mon Sep 17 00:00:00 2001
From: Bron Gondwana 
Date: Wed, 13 Oct 2010 17:21:09 -0400
Subject: [PATCH 3/3] Fix expunge crash on murder frontend

We were trying to cache a value too early, before knowing if it was a
frontend issue.
---
 imap/imapd.c |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/imap/imapd.c b/imap/imapd.c
index d979f3b..d8109cc 100644
--- a/imap/imapd.c
+++ b/imap/imapd.c
@@ -4846,7 +4846,7 @@ void cmd_copy(char *tag, char *sequence, char *name, int usinguid)
  */
 void cmd_expunge(char *tag, char *sequence)
 {
-modseq_t old = index_highestmodseq(imapd_index);
+modseq_t old;
 modseq_t new;
 int r = 0;
 
@@ -4867,6 +4867,8 @@ void cmd_expunge(char *tag, char *sequence)
 	r = IMAP_PERMISSION_DENIED;
 }
 
+old = index_highestmodseq(imapd_index);
+
 if (!r) r = index_expunge(imapd_index, sequence);
 /* tell expunges */
 if (!r) index_tellchanges(imapd_index, 1, sequence ? 1 : 0);
-- 
1.7.1


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

Re: Problem with Cyrus 2.4.0 when move message to Mailbox Trash

2010-10-12 Thread Bron Gondwana
On Tue, Oct 12, 2010 at 06:21:36PM -0300, Lucas Zinato Carraro wrote:
> Hi,
> 
> I am testing the new Cyrus Imapd Version 2.4.0
> 
> I have  a murder ( aggregation)  enviromment.
> ---
> 
>   Using a Webmail ( Expresso: http://www.expressolivre.org )
> or Thunderbird
> 
>   When i delete a message ( technically, move to trash ) one copy of message
> is created in mailbox Trash but the message remains on INBOX.
> 
> I use the same configuration with 2.3.16 and 2.4,
> the configurations is below.

Ooh.. interesting.  Is anything showing up in your logs?  We've been
running the code that became 2.4 at FastMail for all our users for
quite a while for all our users (but not in a murder) and it's been
fine - so I'd be really interested to know what's not working at your
site!

Can you enable telemetry logs for a user (create the directory
$confdir/log/$username and make sure it's owned by the cyrus user)
and then delete a message to trash and send me the telemetry log
files (there may be more than one, and I'll probably need all of
them).  Ideally with a test user who doesn't have much email so
I don't get megabytes of downloaded email!

Thanks,

Bron.

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


Problem with Cyrus 2.4.0 when move message to Mailbox Trash

2010-10-12 Thread Lucas Zinato Carraro
Hi,

I am testing the new Cyrus Imapd Version 2.4.0

I have  a murder ( aggregation)  enviromment.
---

  Using a Webmail ( Expresso: http://www.expressolivre.org )
or Thunderbird

  When i delete a message ( technically, move to trash ) one copy of message
is created in mailbox Trash but the message remains on INBOX.

I use the same configuration with 2.3.16 and 2.4,
the configurations is below.

   Options proxyd_allow_status_referral,  proxyd_disable_mailbox_referrals,
sieve_allowreferrals
remains on code ??


Regards
Zinato


---

My frontend config, same config  used with 2.4 and 2.3.16


/etc/imapd.conf

configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: expresso-admin mupdateuser cyrlmtp
sievedir: /var/lib/imap/sieve
hashimapspool: true
sasl_pwcheck_method: saslauthd auxprop
sasl_auxprop_plugin: sasldb
sasl_mech_list: PLAIN
allowplaintext: yes
unixhierarchysep: yes
duplicatesuppression: 0

mupdate_server: mupdate.intranet
mupdate_username: mupdateuser
mupdate_authname: mupdateuser
mupdate_password: password

proxy_authname: mupdateuser
proxy_password: password

lmtp_admins: cyrlmtp

tls_cert_file: /etc/pki/tls/server.pem
tls_key_file: /etc/pki/tls/server.pem

allowallsubscribe: 1
allowusermoves: 1
anyoneuseracl: 1
defaultpartition: default

defaultserver: back01.intranet
deletedprefix: DELETED
delete_mode: immediate

deleteright: c
expunge_mode: immediate

flushseenstate: 1

lmtp_downcase_rcpt: 1

lmtp_over_quota_perm_failure: 1

maxmessagesize: 0

mupdate_config: standard

munge8bit: 1

proxyd_allow_status_referral: 0
proxyd_disable_mailbox_referrals: 1
sieve_allowreferrals: 0

reject8bit: 0

rfc2046_strict: 0

rfc3028_strict: 0

serverlist: back01.intranet back02.intranet  back03.intranet

serverinfo: off

skiplist_always_checkpoint: 1

soft_noauth: 1

statuscache: 0

username_tolower: 1

unix_group_enable: 0

virtdomains: off

===







Mupdate:

Backend:

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