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.

Configuring the Integration

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/ 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.

Choice Example Value Description
MAIL_DOMAIN The mail domain for which imip-agent will be handling messages
MAILBOX_DELIVERY LocalSMTP How messages are delivered to mailboxes, either using LocalSMTP (local SMTP) or LMTP (LMTP) mechanisms
MAILBOX_DELIVERY_LMTP_GROUP no Whether a special lmtp group will be used even with local SMTP, as discussed in the system users and groups documentation
LMTP_SOCKET /var/run/cyrus/socket/lmtp The location of the LMTP socket used to communicate with a mail storage solution (if LMTP is employed)
LOCAL_SYSTEM_USERS no Whether local system users are supported, as described in the local SMTP documentation.
USER_DATABASE Simple How the database of calendar users is managed, either using Simple (simple) or LDAP (LDAP) mechanisms
LDAP-specific choices (for when calendar users are managed using LDAP)
LDAP_SCHEME ldap LDAP access mechanism, either using ldap or ldaps
LDAP_HOST localhost LDAP server connection details, with the port being omitted unless a non-standard port has been chosen
LDAP_BASE_DN "dc=example,dc=com" Search criteria used in the selection of calendar users
LDAP_SERVICE_BIND_DN "uid=imip-agent,ou=Special Users,dc=example,dc=com" 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.

Configuring the Software Itself

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.

System-Level and Tool Configuration

The file must indicate choices in the following areas:

Since the tools/ script depends on this configuration, changes must be made to the file in the tools/ location before installation can occur.

Setting Example Value Description
IMIP_AGENT_USER imip-agent 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
INSTALL_DIR /var/lib/imip-agent Installation locations for data, Web resources and configuration respectively
WEB_INSTALL_DIR /var/www/imip-agent
CONFIG_DIR /etc/imip-agent

Software Configuration

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.

User Preferences

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.