Modifying cyrus.index to add message flags

Ken Murchison murch at andrew.cmu.edu
Thu Jan 21 10:56:52 EST 2010


I haven't looked at your code, but its a lot easier to do what you want 
using the IMAP protocol using a tool such as mailutil(1).  I believe 
there are others, but I don't recall their names at the moment.


Evgeniy Arbatov wrote:
> Hello,
> 
> I have a question about Cyrus IMAP database - cyrus.index. The reason
> is that I am trying to migrate to Cyrus IMAP from Courier IMAP, using
> this script http://www.samage.net/dev/maildir2cyrus
> 
> Everything is going well except the user \Answered flags are not being
> migrated from Courier IMAP. I have deduced that the script is properly
> handling flags internally, but on writing message flags to cyrus.index
> something goes wrong.
> 
> The code responsible for writing flags to cyrus.index is in
> handlecyrusindex of http://www.samage.net/dev/maildir2cyrus
> 
> I have read the doc/internal/mailbox-format.html of Cyrus IMAP 2.3.14
> I am running, but I am still unclear of what is the right format of
> SYSTEM FLAGS in cyrus.header.
> 
> Can you please tell me what is wrong with the script I am using?
> 
> Thank you!
> 
> Best regards,
> Evgeniy
> 


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University


More information about the Cyrus-devel mailing list