Migration Problems UW -> Cyrus: Preserving Mail Flags
Axel Wagner
Axel.Wagner at gbf.de
Tue Aug 3 05:00:05 EDT 2004
Hi,
RE: forget the banner...
I am currently in the process of migrating approx. 100 GByte of mail from UW IMAP to Cyrus IMAP.
Using the filesystem copy and "reconstruct -r" approach
mentioned on the Wiki, I have encountered some strange behavior.
When I use imtest(1) to connect to some user mailbox as admin user cyrus, I don't see any mail
flags. And in my case, even worse, I cannot set e.g. the \Seen or \Answered flag.
But when I connect as a regular user and select a mailbox using the "INBOX." notation, I see all
the flags and can also modify them:
Session Log:
rzlimes2:~/Projects/NewMailServer/trunk/scripts# imtest -m DIGEST-MD5 -u cyrus -a cyrus
localhost
S: * OK rzlimes2.gbf-braunschweig.de Cyrus IMAP4 v2.1.16-IPv6-Debian-2.1.16-6 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID
NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE
STARTTLS AUTH=DIGEST-MD5 AUTH=CRAM-MD5 LISTEXT LIST-SUBSCRIBED ANNOTATEMORE
S: C01 OK Completed
C: A01 AUTHENTICATE DIGEST-MD5
...
S: A01 OK Success (privacy protection)
Authenticated.
Security strength factor: 128
001 select user.aw.Trash
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] * 1643 EXISTS
* 0 RECENT
* OK [UNSEEN 1]
* OK [UIDVALIDITY 1091437031]
* OK [UIDNEXT 1744]
001 OK [READ-WRITE] Completed
002 fetch 1 flags
* 1 FETCH (FLAGS ())
002 OK Completed
003 logout
* BYE LOGOUT received
003 OK Completed
Connection closed.
rzlimes2:~/Projects/NewMailServer/trunk/scripts# imtest -m LOGIN -u aw -a aw localhost ....
S: * OK rzlimes2.gbf-braunschweig.de Cyrus IMAP4 v2.1.16-IPv6-Debian-2.1.16-6 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID
NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE
STARTTLS AUTH=DIGEST-MD5 AUTH=CRAM-MD5 LISTEXT LIST-SUBSCRIBED ANNOTATEMORE
S: C01 OK Completed
...
S: L01 OK User logged in
Authenticated.
Security strength factor: 0
001 select INBOX
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] * 9 EXISTS
* 0 RECENT
* OK [UNSEEN 3]
* OK [UIDVALIDITY 1091437028]
* OK [UIDNEXT 110]
001 OK [READ-WRITE] Completed
002 fetch 1 flags
* 1 FETCH (FLAGS (\Seen))
002 OK Completed
003 logout
* BYE LOGOUT received
003 OK Completed
Connection closed.
----
How come?
Without being able to set user flags as administrator, our migration process will not succeed
(user will complain having thousands of NEW emails...)
Looking forward to your help...
Thanks!
Axel Wagner
PS: Please include a CC: to axel.wagner at gbf.de
--
##### ###### ###### | Axel Wagner - GBF Rechenzentrum
## ## ## ## | Mascheroder Weg 1B - 38124 Braunschweig
## #### ###### #### | Tel: 0531/6181-587
## ## ## ## ## | Fax: 0531/6181-355
##### ###### ## | http://www.gbf.de - <axel.wagner at gbf.de>
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list