Admin Resource Kit

From Scalix Wiki
Jump to: navigation, search

Scalix Wiki -> Admin Resource Kit

Basic monitoring of Scalix with sxmaint

Use the sxmaint script to do basic monitoring of the Scalix environment. The script is typically run as a cron from the crontab. Contained within the comments (at the top) of file are three lines that may be pasted directly into /etc/crontab. Typically the script is placed in the /usr/local/bin directory. By default the script will send notifications (by mail) to root. However, if you would like to have them sent to other sources, update the MAIL_REPORTS variable in the script .

  • NOTE: Earlier to the release of Scalix 11.3 sxmaint was superceded by ommaint.

Please refer to man sxmaint for usage guidelines and configuration options.

Backing up Scalix with sxbackup

Use the sxbackup script to backup the information store on your Scalix server. untar the file and run the setup script to configure for your system.

Creating rules for users with sxaa

sxaa allows a system administrator to administer server-based Scalix rules (autoactions) from the command line. This allows administrators to set up simple rules without needing to use a client or know the user's mailbox password. This command should be run as a Scalix administror or, preferably, root.

For full description of sxaa and usage guidelines, please see:man sxaa

Importing contacts from csv/ldif file

The import tool provides an HTML front-end to allow end-users to import their contact data into the Scalix server without needing to involve a system administrator.

For a full description of import_contacts, please see:

Download import_contacts at:

Displaying Outlook version of users who have connected to the Scalix server

olkvers -

  • NOTE: olkvers scrapes the audit files for the most recent Outlook logins for each user. If your user is using multiple instances link building of Outlook (i.e., Outlook on more than one host), only the version of the last login will be shown. This applies to NotifyLink customers as well. Ideally olkvers would show all versions found for a particular user.

Creating a custom address generation rule (flast.example)

Use this example for creating a custom address generation rule. In this example, the rule will create an address of consisting of the FIRST INITIAL (f) concatinated with the LAST NAME (last) concatinated with -

Monitoring Scalix with Nagios

This file documents how to setup Nagios to monitor basic services on the Scalix server. (last updated 2005)

The above document references scalix-nagios.tar.gz, a tarball of preset Nagios configuration files located here:

(Please note that some of the configuration files will need to be manually updated for Scalix 11.)

Update ScalixDB content without user login using

After a major release upgrade, and after other events that trigger a database schema change, every Scalix Web Access user must log in in order to trigger a ScalixDB update with their mailbox content. For users with very large numbers of Online Instructions messages in their mailbox, this process can take some time (in extreme cases minutes). This database update can be triggered without the users logging in, for example overnight when system load is low by means of the sxapiprep script.

Checking when users last logged in

I wrote this script as a 'lastlog' equivalent for Scalix, simply run it without arguments.

If you have an enhancement request feel free to mail me at ben --attt-- redcircleit --dottt-- com.

Download it here: