Re: Code for manipulating all messages matching some criteria?

2013-10-28 Thread Bron Gondwana
Yeah, that's going to break horribly in the future. It probably already broke horribly in the past - if you change the size of the message file, then FETCH commands would have totally failed up until some version where I changed it to truncate or pad... the only fix would have been to reconstru

Re: Re: Code for manipulating all messages matching some criteria?

2013-10-28 Thread Deniss
Hi John, i wondering that modifing the mesasges on the disk does not break any internal cyrus stuff like replication or something else cos message's size and GUID as stored in cyrus.index should be changed on edit: http://cyrusimap.web.cmu.edu/docs/cyrus-imapd/2.4.8/internal/mailbox-format.php D

cyrus-imapd 2.5 patch for digest.sha1

2013-10-28 Thread Manel Gimeno Zaragozá
Hello, i'm trying to apply the patch digest.sha1 to cyrus-imapd-2.5 kolab version You can find it in pastebin: http://pastebin.com/raw.php?i=kXKKGbdu But when I try to compile it, I'm getting the following error: imap/index.c: In function 'index_fetchreply': imap/index.c:2981: error: 'struct