Hello,
I'm making my own perl script to connect to IMAP servers (Master & Replica) and compare, following your own script. But I have a question regarding message comparision. I would like to compare the md5sum (GUID) that is saved in every message, If I don't understood wrong GUID is the md5sum of the message. If not, how can I get the md5sum? Anyway, I'm not able to extract GUID: Message Info: 000001> UID:00000006 INT_DATE:1329912678 SENTDATE:1329908400 SIZE:631 > HDRSIZE:488 LASTUPD :1329912709 SYSFLAGS:00000010 LINES:6 > CACHEVER:3 GUID:a281f0ee24d78fb5c32e70b77c85c6842fcc40a6 MODSEQ:13 > USERFLAGS: 00000000 00000000 00000000 00000000 I'm trying to fetch through perl with the following code and also through telnet 143 and the return me field is not valid. $IMAPs1->select("user.cyrusadmin"); my $UIDs1 = $IMAPs1->fetch('1:*', 'guid'); Is there any option to do it? Because just comparing this field I can validate that the messages are the same. Thanks & Regards. Manel Gimeno Zaragoza magiza83@xxxxxxxxxxx > Date: Thu, 16 Feb 2012 20:22:57 +0100 > From: brong@xxxxxxxxxxx > To: Eric.Luyten@xxxxxxxxx > Subject: Re: Problem recover replica > CC: info-cyrus@xxxxxxxxxxxxxxxxxxxx > > On Thu, Feb 16, 2012 at 05:59:05PM +0100, Eric Luyten wrote: > > On Thu, February 16, 2012 4:49 pm, Manel Gimeno Zaragozá wrote: > > > > > > > > Hello, > > > > > > > > > I'm using "find -type f" in my test environment because it's just 5 o 6GB of > > > data. In production I know I won't be able to use it. how do to > > > check/dump/export cyrus.index information? I was trying to find some tool o > > > script but I couldn't find it. > > > > > > Manel, > > > > > > You could use 'mbexamine' which dumps mailbox information in human readable > > (and machine processable) format. > > We actually use IMAP to talk to it :) We run an imapd on the replica > as well (on a different port) - so we connect to the two imapds and > compare between them. > > Bron. > ---- > Cyrus Home Page: http://www.cyrusimap.org/ > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ |
---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/