Page 1 of 1
Scalix Recovery Folder not emptying
Posted: Fri Jul 13, 2007 9:45 am
by Derek
I just decided to take a look at my recovery folder because my mailbox size according to Outlook and Scalix varied greatly. I knew that that recovery folder holds onto deleted email for little while, but my mailbox size according to Scalix has just been continuing to grow with no sign of leveling out or shrinking.
So, I enabled the recovery folder for myself, logged into SWA and discovered it isn’t deleting anything. I have mail in there starting from 4/6/06--yes, over a year ago.
According to the admin guide, the default setting is 7 days. I can assure you that no system-wide or specific-user changes have been made as I’m the only one who would’ve done it.
Is this a bug or did I miss a setting somewhere?
Posted: Fri Jul 13, 2007 11:36 am
by jaime.pinto
I was curious about your observation, so I went to check mine. The oldest email there is almost 2 months. So, definitely not 7 days.
That raises the question: how exactly do we do the fine control of this process? I thought the ommaint cron job that runs every weekend was taking care of this.
Maybe it is, but then, where do we adjust the "60 days" hold period?
Posted: Fri Jul 13, 2007 1:18 pm
by Derek
Being that there is a configuration attribute for this (RECOVERY_FOLDER_EXPIRY_TIME), this should be happening automatically and not via a cron job of some sort. That is my interpretation anyway.
Posted: Thu Jul 19, 2007 5:09 am
by Richard Hall
Hi Derek and Jaime,
I'm concerned that the Recovery Folder isn't being cleared properly. If the user is active (i.e. logging in with a client) then the RF should get cleared automatically, and msgs by default should remain in the RF for 7 days. (Remember that the if you make the RF visible and look at the message date then that would normally be the delivery date of the message and not the date it was attached to the RF.)
One way to check how many messages exceed the configured retention date for the RF (i.e. how many messages should be cleared from the RF) is to run omtidy(all)u in report mode:
omtidyu -B -u <user> -Tr -a c
for a single user, or
omtidyallu -Tr -a c
for everyone.
I've just check on our server and the only people who have items that are older than the retention period are those that are currently on holiday.
If for some reason the automatic RF clearing isn't working then RFs can be forcibly cleared on a regular basis (eg. nightly) by running: omtidyallu -Tr -a c -d -k
Richard