When deploying imip-agent, configuration of the way it integrates with other software components must be performed. Once this has been done, certain details are then carried forward into the configuration of imip-agent itself.
The conf directory provides a selection of template configuration files for different software components that may integrate with imip-agent. To simplify the process of customising these files, a helper tool is provided to apply configuration choices and to generate configuration files that may then be deployed within the configuration of these other components.
Taking an example set of choices, the tool is run as follows:
conf/tools/configure.sh conf/configure.example outconf
This will generate parameterised versions of several files within conf and place them in a similar directory structure within the newly-created directory outconf, using the settings found in conf/configure.example.
It is recommended that the example definitions file be copied and edited, and that each definition or choice in the new definitions file be adjusted according to the specific needs of the deployment. A summary of the choices are given below.
The mail domain for which imip-agent will be handling messages
Whether a special lmtp group will be used even with local SMTP, as discussed in the system users and groups documentation
The location of the LMTP socket used to communicate with a mail storage solution (if LMTP is employed)
Whether local system users are supported, as described in the local SMTP documentation.
LDAP-specific choices (for when calendar users are managed using LDAP)
LDAP access mechanism, either using ldap or ldaps
LDAP server connection details, with the port being omitted unless a non-standard port has been chosen
Search criteria used in the selection of calendar users
Credentials for the identity employed by imip-agent to connect to the LDAP server
The eventual destination of each of the customised files obviously depends on the nature of the component such files will be configuring.
There are three levels of configuration in imip-agent:
These files are by default installed into the /etc/imip-agent directory and they can be changed in that location once the system is installed.
The config.sh file must indicate choices in the following areas:
Since the tools/install.sh script depends on this configuration, changes must be made to the file in the tools/config.sh location before installation can occur.
Indicates the system user and group identity that is used to run the software and access resources, decided when choosing a strategy for system users and groups
Installation locations for data, Web resources and configuration respectively
Any changes to filesystem locations may need to be incorporated into the config.txt file, which is found in the imiptools/config.txt location of the distribution. There is, however, no urgency in changing this file before installation, and it can be edited in its installed location to achieve the same effects.
The agent system configuration dictates how the software behaves, and the config.txt file provides system-level settings (filesystem locations and file permissions), service-level settings (e-mail address and Web site choices), and default policies for users of the software.
Although the software configuration in config.txt provides default policies, users can choose to override these defaults by editing their own preferences. The most convenient way of doing this is to use the profile page provided by the management interface.
The settings for the different policies are described in the preferences guide.