<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hello,<br><br>I have one more doubt about sieve scripts. I thought that sieve scripts would be sync on replica at the same time that mailbox are, but I haven't check it yet. Now I see that sieve is not sync, and I'm not sure if there is a automatic way to do it.<br><br>How can i sync sieve at the same time that mailbox? Or I should to do it manually?<br><br>Regards and thaks for all your support!<br><br>Manel Gimeno Zaragoza<br>magiza83@hotmail.com<br><br><br><div><div id="SkyDrivePlaceholder"></div>> From: brong@fastmail.fm<br>> To: magiza83@hotmail.com<br>> CC: info-cyrus@lists.andrew.cmu.edu; eric.luyten@vub.ac.be<br>> Subject: RE: Problem recover replica<br>> Date: Thu, 23 Feb 2012 19:50:03 +0100<br>> <br>> Well found :) The rfc822. stuff is calculated on the fly, for testing spool against index file.<br>> <br>> On Thu, Feb 23, 2012, at 03:45 PM, Manel Gimeno Zaragozá wrote:<br>> > <br>> > Hello,<br>> > <br>> > I've found the problem by my self, I was asking the wrong attribute. The correct one is "digest.sha1":<br>> > <br>> > my $s1Size = $IMAPs1->fetch('1:*', 'digest.sha1');<br>> > <br>> > Now its almost instantaneous:<br>> > <br>> > real 0m0.395s<br>> > user 0m0.368s<br>> > sys 0m0.016s<br>> > <br>> > and its perfect to compare the integrity of the replica!<br>> > <br>> > Thanks & Regards!<br>> > <br>> > Manel Gimeno Zaragoza<br>> > magiza83@hotmail.com<br>> > <br>> > <br>> > From: magiza83@hotmail.com<br>> > To: brong@fastmail.fm<br>> > Subject: RE: Problem recover replica<br>> > Date: Thu, 23 Feb 2012 13:44:32 +0100<br>> > CC: info-cyrus@lists.andrew.cmu.edu; eric.luyten@vub.ac.be<br>> > <br>> > <br>> > <br>> > <br>> > <br>> > <br>> > <br>> > Hello Bron,<br>> > <br>> > I've apply the patch on cyrus 2.4.13 succesfully and now I can fetch "rfc822.sha1" and "rfc822.filesize":<br>> > <br>> > . fetch 1:* rfc822.sha1<br>> > * 1 FETCH (RFC822.SHA1 284c8e2602d2094609aefb31c64622dbcc8a59cb)<br>> > * 2 FETCH (RFC822.SHA1 40d4f8a1a1c214385d875181c7e950ea04571855)<br>> > * 3 FETCH (RFC822.SHA1 756b897109ba58dc78c451ffa1ba6837ec17a391)<br>> > <br>> > . fetch 1:* rfc822.filesize<br>> > * 1 FETCH (RFC822.FILESIZE 1402)<br>> > * 2 FETCH (RFC822.FILESIZE 1399)<br>> > * 3 FETCH (RFC822.FILESIZE 2097759)<br>> > <br>> > But I have some doubts about it. Fetch sha1 takes too much, I have 1500 mail (around 3GB of data) in this account and it take over 20 seconds to do it:<br>> > real 0m20.288s<br>> > user 0m0.380s<br>> > sys 0m0.014s<br>> > <br>> > On the other hand fetch filesize takes 0,4 secs:<br>> > real 0m0.401s<br>> > user 0m0.369s<br>> > sys 0m0.022s<br>> > <br>> > I thought that sha1 was already the GUID field and fetch them would be really fast, but it isn't. have I made something wrong? My perl code is the same in both "fetch":<br>> > <br>> > my $s1Size = $IMAPs1->fetch('1:*', 'rfc822.filesize');<br>> > <br>> > Finally, I attach the patch code for 2.4.13. As you said I had to made some "minor" changes (some compile error due to some missing object) and find the correct lines to apply it.<br>> > <br>> > Thanks & Regards.<br>> > <br>> > Manel Gimeno Zaragoza<br>> > magiza83@hotmail.com<br>> > <br>> > <br>> > > Date: Wed, 22 Feb 2012 17:40:48 +0100<br>> > > From: brong@fastmail.fm<br>> > > To: brong@fastmail.fm<br>> > > CC: magiza83@hotmail.com; eric.luyten@vub.ac.be; info-cyrus@lists.andrew.cmu.edu<br>> > > Subject: Re: Problem recover replica<br>> > > <br>> > > On Wed, Feb 22, 2012 at 03:49:44PM +0100, Bron Gondwana wrote:<br>> > > > Ahh, you need our guid commands patch!<br>> > > > <br>> > > > It's on the fastmail branch on github. Can email a direct link when I'm not on my phone...<br>> > > <br>> > > https://github.com/brong/cyrus-imapd/commit/e0c404436c69bf9535c7f86e7e739c16c6064399<br>> > > <br>> > > That's one that applies directly on top of master... you<br>> > > may need to fiddle with some fuzz to get it to apply to<br>> > > 2.4. There's lots of extra annotation stuff on master<br>> > > now.<br>> > > <br>> > > Bron.<br>> >                                            <br>> > <br>> > ----<br>> > Cyrus Home Page: http://www.cyrusimap.org/<br>> > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/                                            <br>> -- <br>> Bron Gondwana<br>> brong@fastmail.fm<br>> <br></div>                                            </div></body>
</html>