Your message dated Wed, 16 Sep 2020 06:05:56 +0200
with message-id <[email protected]>
and subject line Closed - see 
https://github.com/cyrusimap/cyrus-imapd/issues/1660
has caused the Debian Bug report #776139,
regarding mailbox annotations loss when moving mailbox
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
776139: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776139
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cyrus-imapd-2.4

Cyrus imapd loses annotations like expiration data, if the given mailbox
moved to another partition.
Moving and renaming mailbox uses the same command, if no moving just
renaming happens, the annotations are kept.

Transcription from cyradm is attached.   Annotations are stored by cyrus
in a server-global database, when renaming happens, it needed to rename
the keys of it.
In imap/imapd.c:5708 the renaming function called unconditionally
regardless of the name changed or not, but probably renaming to the same
name should not delete it.

The annotate.c and the relevant part of imapd.c haven't changed between
2.4.16-4+deb7u2 and 2.4.17+caldav~beta10-16, so probably jessie also
affected

--
Daniel Galambos / Dancsa
localhost> info user.asd
{user.asd}:
  duplicatedeliver: false
  lastpop:  
  lastupdate: 24-Jan-2015 01:22:05 +0100
  partition: b
  pop3newuidl: true
  sharedseen: false
  size: 0
localhost> mboxcfg user.asd expire 10
localhost> info user.asd
{user.asd}:
  duplicatedeliver: false
  expire: 10
  lastpop:  
  lastupdate: 24-Jan-2015 01:22:05 +0100                                        
                                                                                
                                
  partition: b                                                                  
                                                                                
                                
  pop3newuidl: true                                                             
                                                                                
                                
  sharedseen: false
  size: 0
localhost> 
localhost> renm user.asd user.asd a
localhost> info user.asd
{user.asd}:
  duplicatedeliver: false
  lastpop:  
  lastupdate: 24-Jan-2015 12:02:08 +0100
  partition: a
  pop3newuidl: true
  sharedseen: false
  size: 0
# The same happens when the expiration set on a submailbox.
# Expected behavior: expire field should be present with the same value

localhost> mboxcfg user.asd.a expire 10
localhost> renm user.asd.a user.asd.b
localhost> info user.asd.b
{user.asd.b}:
  duplicatedeliver: false
  expire: 10
  lastpop:  
  lastupdate: 24-Jan-2015 12:04:46 +0100
  partition: c
  pop3newuidl: true
  sharedseen: false
  size: 0

--- End Message ---
--- Begin Message ---
X-CrossAssassin-Score: 19589

--- End Message ---

Reply via email to