cyrus replication validation
Dmitriy Kirhlarov
dkirhlarov at oilspace.com
Sat Apr 7 12:56:41 EDT 2007
On Fri, Apr 06, 2007 at 05:52:28PM -0400, John Capo wrote:
> > On both servers:
> > find imap/ -type f | awk '!/(cache|index|header)/ {print}' | sort > server1.lst
> > find imap/ -type f | awk '!/(cache|index|header)/ {print}' | sort > server2.lst
> >
> > and
> > diff -u server1.lst server2.lst
> >
>
> Quick mailboxes.db check.
>
> ctl_mboxlist -d | md5 on server1
> ctl_mboxlist -d | md5 on server2
>
> Both hashes should be identical. Or diff the ctl_mboxlist -d
> outputs.
Please, correct me, if I wrong. It's just check of mailbox lists, but
not messages numbers.
WBR.
Dmitriy
More information about the Info-cyrus
mailing list