Scalix : change the time messages stay in Deleted Items before being deleted permanently
Nov 3rd, 2008 | By Roma | Category: ScalixIn Scalix, messages present in the Deleted Items are kept in this folder for one day by default before being deleted.
This behavior can be changed globally at installation by modifying the userconf file or individually for each user.
$ more /var/opt/scalix/XX/s/sys/userconf #XX being the first and last letter of your mail node 1 # This file contains the default configuration values for a mail user. # (The line length should not exceed 128 charaters.) # # ConfigType=1 The default Waste Basket clearance time in days. # This value represents how long a message will reside in # The Waste Basket before it is eligible for deletion 1 1 ...
Changing this parameter to
# ConfigType=1 The default Waste Basket clearance time in days. # This value represents how long a message will reside in # The Waste Basket before it is eligible for deletion 1 30
will make Scalix keep messages 30 days in the Deleted Items before permanently deleting them.
However, this will only apply to users created after the file modification. Indeed, this file is read and parameters copied in the configuration file of the user whenever a new user is created,.
So in order to modify this behavior for existing users, you have to know which folder Scalix uses for this user:
omshowu "user name" -f
Look for the “User Folder” value.
In this folder, edit the 000002g file:
1 # User Configuration File 1 1 ...
Change it to
1 30
for keeping messages 30 days