Ken Murchison wrote:
I just put together a second release candidate for Cyrus 2.3.12.  I'd
appreciate any independent testing before I release this to the masses.

http://www.contrib.andrew.cmu.edu/~murch/cyrus-imapd-2.3.12rc2.tar.gz

I have tested the following:

* Added option to unexpunge to restore messages by time interval --
courtesy of David Carter

Works very nicely!

> * Added serverinfo option to control the information displayed in
>       banner greetings and capability responses.

Works

* Implemented incremental squat updates (see squatter.8) -- courtesy of
David Carter

Seems to work, (running it works and it doesn't barf on virtual mailboxes)

I also tested if reconstruct does his recurstion alright on new virtual mailboxes. (With a cyrus.header file only). That works too.

> * Added option to mbexamine to compare quota usage in cyrus.index to > the actual message file sizes.

This works, but has a bug.

More specific. If I do an unexpunge on a mailbox the quota on a replica mailbox isn't any more correct.

Quota mailbox on master:
[EMAIL PROTECTED]:~$ quota -d dict.ugent.be user/rudy
   Quota   % Used     Used Root
  250000       19    48071 user/[EMAIL PROTECTED]

Quota mailbox on replica:
[EMAIL PROTECTED]:~$ quota -C /etc/imapd-replica.conf -d dict.ugent.be user/rudy
   Quota   % Used     Used Root
  250000       19    48071 user/[EMAIL PROTECTED]

Both are in sync.

I do an unexpunge:

[EMAIL PROTECTED]:~$ unexpunge -a -d user/[EMAIL PROTECTED]
restoring all expunged messages in mailbox 'dict.ugent.be!user.rudy'
restored 14 out of 14 expunged messages

Quota on master:
[EMAIL PROTECTED]:~$  quota -d dict.ugent.be user/rudy
   Quota   % Used     Used Root
  250000       19    48117 user/[EMAIL PROTECTED]

Quota on replica not in sync:
[EMAIL PROTECTED]:~$ quota -C /etc/imapd-replica.conf -d dict.ugent.be user/rudy
   Quota   % Used     Used Root
  250000        9    24028 user/[EMAIL PROTECTED]

mbexamine says it's all ok
[EMAIL PROTECTED]:~$ mbexamine -C /etc/imapd-replica.conf -q user/[EMAIL PROTECTED]
Examining user/[EMAIL PROTECTED]  Mailbox has CORRECT total quota usage
Examining user/rudy/[EMAIL PROTECTED] Mailbox has CORRECT total quota usage Examining user/rudy/[EMAIL PROTECTED] Mailbox has CORRECT total quota usage Examining user/rudy/[EMAIL PROTECTED] Mailbox has CORRECT total quota usage Examining user/rudy/[EMAIL PROTECTED] Mailbox has CORRECT total quota usage Examining user/rudy/[EMAIL PROTECTED] Mailbox has CORRECT total quota usage Examining user/rudy/rudy/[EMAIL PROTECTED] Mailbox has CORRECT total quota usage Examining user/rudy/rudy/[EMAIL PROTECTED] Mailbox has CORRECT total quota usage Examining user/rudy/rudy/[EMAIL PROTECTED] Mailbox has CORRECT total quota usage Examining user/rudy/rudy/[EMAIL PROTECTED] Mailbox has CORRECT total quota usage

Fix the quota and it now it's in sync again:
[EMAIL PROTECTED]:~$ quota -C /etc/imapd-replica.conf -d dict.ugent.be -f user/rudy
dict.ugent.be!user.rudy: usage was 24605660, now 49272171
   Quota   % Used     Used Root
  250000       19    48117 user/[EMAIL PROTECTED]





--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          [EMAIL PROTECTED]          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
Groep Systemen                    Systems group
Universiteit Gent                 Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to