<a id="configuration"></a>

# Configuration

*ctipd* loads the non-reloadable configuration from `/etc/ctipd/ctipd.conf`.
The default configuration file in `/opt/ctipd/share/examples` can normally be used as a base:

```console
$ cp /opt/ctipd/share/examples/ctipd.conf /etc/ctipd/
```

Below are some of the most important settings that can be configured.

<a id="iprep-directives"></a>

## IPRep directives

<a id="confval-IPRep-ServerAddress"></a>

### [IPRep]ServerAddress

Should be `iprep%d.halon.ctmail.com` if you want to use the closest data center or `iprep%d-eu-halon.ctmail.com` if you only want to use EU data centers.

<a id="confval-IPRep-LicenseKey"></a>

### [IPRep]LicenseKey

Should be the license key that was provided by us.

<a id="http-directives"></a>

## HTTP directives

<a id="confval-HTTP-BindingAddress"></a>

### [HTTP]BindingAddress

The IP address to listen on. In the default configuration this is set to `127.0.0.1`.

<a id="confval-HTTP-Port"></a>

### [HTTP]Port

The port to listen on. In the default configuration this is set to `8080`.

<a id="general-directives"></a>

## General directives

<a id="confval-General-RunAsUser"></a>

### [General]RunAsUser

The privdrop user

<a id="confval-General-RunAsGroup"></a>

### [General]RunAsGroup

The privdrop group
