Merak Mail Server for Linux README

This document contains informations about using the Merakd daemon and Tool.

Executing commands
------------------

Merakd daemon is executed by calling the script in root directory
of the Merak installation: ./merakd.sh
The script merakd.sh will take care of exporting the library directory
with the correct version of SQLite library into LD_LIBRARY_PATH.
Without this merakd could load an incorrect version from the system,
or it could fail to start due to a missing library.

The tool is executed by calling the script in the root directory of
the Merak installation: ./tool.sh
Script tool.sh will take care of exporting the library directory
in the same way that the Merak daemon does.

Merak daemon commands
---------------------

The Merak daemon supports the commands to control Merak:

Start all Merak services and merakd          [pc]$ ./merakd.sh --start
Stop all Merak services and merakd           [pc]$ ./merakd.sh --stop
Start specific Merak service                 [pc]$ ./merakd.sh --start x
Stop specific Merak service                  [pc]$ ./merakd.sh --stop x
Check specific Merak service                 [pc]$ ./merakd.sh --check x

Where 'x' is one of services: 'control', 'gw', 'im', 'pop3', 'smtp'
or 'all' which starts all services.
A more detailed description is available by running the command: ./merakd.sh --help

[END]
