Fwd: Again: GUID change to SHA1

Martin Schweizer schweizer.martin at gmail.com
Wed Mar 5 01:01:13 EST 2008


( Sorry,again but I did not get an answer until now)

Hello Bron

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

> On Mon, Feb 25, 2008 at 05:52:34PM +0100, Martin Schweizer wrote:
  >  >  >

>  >  >  > 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.
 >
 >
 > Sorry about the delay in replying.  That just looks like debugging info.
 >  We don't get it, so I wonder if you have a debugging level turned on
 >  that we don't.


Here my imapd.conf from the "client":

 configdirectory: /var/imap
 partition-default: /var/spool/imap
 admins:root cyrus
 sasl_pwcheck_method: auxprop
 sasl_mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
 sasl_sasldb_path: /usr/local/etc/sasldb2
 lmtpsocket:/var/imap/socket/lmtp

 allowplaintext: yes

 sync_host: acsvfbsd012.beast.ch
 sync_authname: cyrus
 sync_password: XXXXXXXXXX
 sync_machineid: 1
 sync_log: 1
 sync_repeat_interval: 1
 sasl_log_level: 7





 >  The important question is: are your messages being replicated?


Yes, the messages will replicated all the time.


 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