Again: GUID change to SHA1

Martin Schweizer schweizer.martin at gmail.com
Mon Feb 25 11:52:34 EST 2008


Hello

 2008/2/21, Bron Gondwana <brong at fastmail.fm>:

> On Thu, Feb 21, 2008 at 05:11:48PM +0100, Martin Schweizer wrote:
 >  > Hello
 >  >
 >  > I use FreeBSD 6.3 and cyrus 2.3.11.  Below is the manual for the change.
 >  >
 >  > Upgrading from 2.3.9
 >  >
 >  >      * The method used for generating Globally Unique IDentifiers used
 >  > for replication has been changed to be the SHA1
 >  >        hash of the messages. If you wish to upgrade the existing GUIDs
 >  > in particular mailbox(es) or the entire server,
 >  >        perform the following steps in the listed order. Note that is
 >  > is NOT REQUIRED that existing GUIDs be upgraded.
 >  >          1. Zero GUIDs on the replica (reconstruct -g)
 >  >          2. Regenerate GUIDs on the master (reconstruct -G)
 >  >          3. Regenerate GUIDs on the replica (reconstruct -G)
 >  >
 >  > Which is the master and which is the replica? Server 1 or Server 2?
 >
 > > [...]
 >  > Server 1:
 >
 > >   syncclient   cmd="/usr/local/cyrus/bin/sync_client -r"
 >
 >
 > Master
 >
 >  > Server 2:
 >
 > >   syncserver    cmd="/usr/local/cyrus/bin/sync_server"
listen="csync" prefork=0
 >
 >
 > Replica


Thanks for the hint. I was not sure about the terms.

 On the master I get after the changes (used of reconstruct...) the
 following output

 grep sync /var/log/debug.log

 Feb 22 09:09:03 acsvfbsd02 sync_client[73967]: DIGEST-MD5 client step 1
 Feb 22 09:09:03 acsvfbsd02 sync_client[73967]: DIGEST-MD5 client step 2
 Feb 22 09:09:03 acsvfbsd02 sync_client[73967]: DIGEST-MD5 client step 3
 Feb 22 09:15:09 acsvfbsd02 sync_client[73967]: seen_db: user astomas
 opened /var/imap/user/a/astomas.seen
 Feb 22 09:19:04 acsvfbsd02 sync_client[74023]: DIGEST-MD5 client step 1
 Feb 22 09:19:04 acsvfbsd02 sync_client[74023]: DIGEST-MD5 client step 2
 Feb 22 09:19:04 acsvfbsd02 sync_client[74023]: DIGEST-MD5 client step 3

 Is that correct? This I  got also before I did the changes.



Regards,

-- 
Martin Schweizer
schweizer.martin at gmail.com
Tel.: +41 32 512 48 54 (VoIP)
Fax: +1 619 3300587


More information about the Info-cyrus mailing list