Steve, thanks for the flowers!
Just a little followup; all the limit settings are stored in system config files, either the system-wide config file general.cfg or the user-specific config file.
If you set any global limit or sanction, you can find some or all of the following lines in /var/opt/scalix/sys/general.cfg
Code: Select all
UAL_SIZE_MSG_TO_USER=TRUE
UAL_SIZE_MSG_TO_ENU=TRUE
UAL_SIZE_ERR_TO_USER=TRUE
UAL_SIZE_ON_SEND=TRUE
UAL_SIZE_ON_RECEIPT=TRUE
UAL_MSTORE_SIZE_LIMIT=300000
if you set them by user, the settings will end up in /var/opt/scalix/sys/user.cfg/<omId> where omId is the internal user Id of the user. This can be determined by the omshowu -G command, as in
Code: Select all
[root@rhel4u2 ~]# omshowu -n sxadmin -G
Authentication ID: sxadmin
User Name : sxadmin /CN=sxadmin
MailNode : scalix,demo
...
Internal user Id : 101
...
User Class : Limited
Now, if a setting appears in both files, the one in the user file takes precedence for this user. The sanction settings can have two values, TRUE or FALSE, so it comes down to the following Matrix:
Code: Select all
general.cfg user.cfg Result
-----------------------------------------------------------------------
any setting NOT SET general.cfg setting applies
any setting TRUE sanction is enabled for the user
any setting FALSE sanction is explicitly disabled for the user
So, when you "unset" a sanction for a user you can either set it to false, explicitly disabling the setting for the user independent of the general.cfg setting or you can remove it from user.cfg, thereby returning to the system default set in general.cfg. The very difference between those two possibilities is determined by the "-o" flag in the omlimit command. Specifying -o means that the setting is set to FALSE in user.cfg while not specifying -o means that the user.cfg setting is to be removed. Hence the solution to Steve.
What triggered the problem was the fact that the Scalix Admin Console always seems to have the -o option when executing the omlimit command to remove the sanction, therefore it sets the user.cfg flag to false.
It should actually offer both - disabling the sanction or returning to the system setting; obviously it's not binary logic which is what the checkbox currently implies.
I've filed a bug against this behaviour and we'll see if we can improve this in a future release.
Hope this helps,
Florian.
P.S. By the way, I agree this again shows the complex nature of the beast and I hope not too many readers are scared away by this. For me, the good thing is that it's very powerful, can do a lot of what we like to do at times, is pretty well documented (most of the above is contained in various man pages and guides) and for day2day operations the Scalix Admin console provides a good and robust frontend! :-)