Page 1 of 2

feature that exchange has.

Posted: Mon Oct 01, 2007 8:00 pm
by foxyguitarman
Hey, Exchange has a feature that if you delete items out of your deleted items or if you delete a user's mailbox, you can set it to save the email for a certain amount of days. (I think the default is 30 days). Does Scalix do anything like this?

the reason why I ask is that my mailbox used to be 140mb. I deleted everything from it in every folder, it is now 109 MB. Is there a time that Scalix holds on to items that i deleted just for backup purposes like Exchange does?

Thanks for your help.

Posted: Mon Oct 01, 2007 8:57 pm
by jaime.pinto
Yes, 1 week.

Posted: Mon Oct 01, 2007 10:09 pm
by foxyguitarman
What do you call that feature? How do you configure it?

Thanks!

Posted: Mon Oct 01, 2007 10:21 pm
by jaime.pinto

Posted: Mon Oct 01, 2007 11:37 pm
by chris
First off, it's worth mentioning that recovery folders do not count towards a user's quota.

Also, configuration isn't covered directly in the thread referenced above, but is covered in the Scalix Administration Guide on Page 133

Scalix Server Administration Guide wrote:
Changing the Default Hold Period on a Per User Basis

By default, Scalix holds items in the Recovery Folder for seven days. You can change that on either a per-user or system-wide basis.

The explicit per-user option explained here overrides any system-wide option explained in the next section.

To make a per-user change to the default period that items are held:

1 Go to the following configuration file.
~/sys/user.cfg

2 Change the value
RECOVERY_FOLDER_EXPIRY_TIME=<time_period>
where <time_period> is the amount of time that deleted items remain in the "Scalix Recovered Items" folder before being finally removed from the system.

Some example settings for this option are:
• 4d12h (4 days and 12 hours)
• 240h (240 hours)
3 Restart the client.

Changing the Default Hold Period on a System-Wide Basis

By default, Scalix holds items in the Recovery Folder for seven days. You can change that on either a per-user or system-wide basis.

The explicit per-user option explained above overrides any system-wide option changed here.

To make a system-wide change to the default period that items are held in the Recovery Folder:

1 Go to the following file.
~/sys/general.cfg

2 Change the following value.
RECOVERY_FOLDER_EXPIRY_TIME=<time_period>
where <time_period> is the amount of time that deleted items remain in the "Scalix Recovered Items" folder before being finally removed from the system.

Some example settings for this option are:
• 4d12h (4 days and 12 hours)
• 240h (240 hours)

3 Restart the client.

Disabling the Recovery Folder Feature

If the recovery folder expiry time is explicitly configured to zero, the recovery feature is disabled. This means deleted items are not moved to the Recovery Folder and users do not have the option of retrieving messages that they have deleted by mistake.

To turn off the Recovery Folder feature on either a per-user or system wise basis:

1 Go to the following file.
~/sys/user.cfg (to disable a single user)
~/sys/general.cfg (to disable the feature on a system-wide basis)

2 Change the following value.
RECOVERY_FOLDER_EXPIRY_TIME=7d
to
RECOVERY_FOLDER_EXPIRY_TIME=0

3 Restart the client


Hope this helps!

Chris

Posted: Wed Oct 03, 2007 12:01 am
by foxyguitarman
Wow, thanks guys!!!

Last question: How do you enable viewing of the recovery folder?

Posted: Wed Oct 03, 2007 12:14 am
by jaime.pinto
You can do that on a per user basis by editing that user via sac, and selecting "Show Recovery Folder". You as the sxadmin won't see anything, but the user will see that folder on his/her mailbox

Posted: Wed Oct 03, 2007 12:18 am
by foxyguitarman
Ok great.

Also, the above info from chris says that you can edit the configureation file ~/sys/user.cfg.

user.cfg is not a file, its a folder with a file called "101". For future reference, how do I edit user.cfg and make it specific to a user? I bet I'm totally missing something here. Thank you for your help.

Also, I'm not seeing the "Show Recovery Folder" in the sac. Could it be a plug in that I must install?

Guitarman

Posted: Wed Oct 03, 2007 12:52 am
by TheDude
Guitarman,

I don't think it shows this feature in SAC if your not running the Enterprise Edition. I am using the comunity edition and stumbled upon the command line once to enable the recovery folders for a user, but, the user had no data in there.

Can anybody confirm whether this feature will work with community eddition?

Thanks,

The Dude

Posted: Wed Oct 03, 2007 12:59 am
by foxyguitarman
Yes, I had a feeling that might be the case.

Anybody???

Posted: Wed Oct 03, 2007 1:11 am
by TheDude
I think I answered our question with some forum crawling. Look at the last post in this thread: http://www.scalix.com/forums/viewtopic.php?t=5847&highlight=recovery

Richard, who works for Scalix, says, "The feature is only available/active for Small Business and Enterprise Edition licenses"

So, there may be some residual commands available at the command line, but, the functional part is striped out for the Comunity build....

What makes it so rough, is that it is SO difficult to restore a single users mailbox, if he, for some reason, decides to delete important data. You have to have a backup box running Scalix with your backup data, do an export from that box of that users data, then do an import (with the special file structuture you can only get from the special export) back onto your live server.

Arrgh!! Somebody tell me I am wrong and there is an easier way to recover a users inbox!

Thanks,

The Dude

Posted: Wed Oct 03, 2007 12:11 pm
by foxyguitarman
I see what you are saying. I just find it really interesting that my mailbox size is 109MB when I have looked through every single folder and the most I'm taking up is 8 or 9 MB. I am just curious about how that could be if there is no recover feater in the community edition (what I am currently using). Any thoughts?

Posted: Wed Oct 03, 2007 12:36 pm
by TheDude
Hmm... I have no such problem with Scalix reporting my mailbox sizes wrong... Maybe you have the Recovery Folder feature enabled in general.cfg... I checked mine and had no references at all to Recovery Folder, but, I have always been careful to use the community build....

Perhaps you accidently installed the enterprise build? I don't know why it would be reserving space for a feature it does not support(?)

The Dude

Posted: Wed Oct 03, 2007 4:55 pm
by chris
Recovery Folders are a feature that is only included in the Small Business and Enterprise Editions.

To make them visible or hide them for a user it's ommodu -n $username --recovery=[yes|no]

You can still do single user backups on community edition. Just use the sxmboxexp command and put the archive files somewhere safe.

You can restore with a granularity down to single objects with sxmboximp working from the archive files created with sxmboxexp.

Chris

Posted: Thu Oct 04, 2007 4:52 pm
by foxyguitarman
thanks! i did that command and I was able to view my recover folder. (I only have community edition) There was nothing in there, though. So maybe it is there in community edition, but it is just empty all the time?

I would like to learn more about the sxmboxexp command. can you point me in the right direction?