GUID change to SHA1
Martin Schweizer
schweizer.martin at gmail.com
Thu Feb 21 11:11:48 EST 2008
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?
Here are my two cyrus.conf
Server 1:
START {
# do not delete this entry!
recover cmd="ctl_cyrusdb -r"
syncclient cmd="/usr/local/cyrus/bin/sync_client -r"
# this is only necessary if using idled for IMAP IDLE
# idled cmd="idled"
}
# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=0 provide_uuid=1
# imaps cmd="imapd -s" listen="imaps" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=0
# pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0
# syncserver cmd="/usr/local/cyrus/bin/sync_server" listen="csync"
# syncclient cmd="/usr/local/cyrus/bin/sync_client -r"
# these are only necessary if receiving/exporting usenet via NNTP
# nntp cmd="nntpd" listen="nntp" prefork=0
# nntps cmd="nntpd -s" listen="nntps" prefork=0
# at least one LMTP is required for delivery
lmtp cmd="lmtpd" listen="lmtp" prefork=0
lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
# this is only necessary if using notifications
# notify cmd="notifyd" listen="/var/imap/socket/notify"
proto="udp" prefork=1
}
[snip]
Server 2:
# standard standalone server implementation
START {
# do not delete this entry!
recover cmd="ctl_cyrusdb -r"
# this is only necessary if using idled for IMAP IDLE
# idled cmd="idled"
}
# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=0 provide_uuid=2
pop3 cmd="pop3d" listen="pop3" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0
syncserver cmd="/usr/local/cyrus/bin/sync_server" listen="csync" prefork=0
# at least one LMTP is required for delivery
lmtp cmd="lmtpd" listen="lmtp" prefork=0
lmtpunix cmd="lmtpd" listen="/usr/imap/var/imap/socket/lmtp" prefork=0
}
[snip]
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