zarafa-dagent.cfg

Langue: en

Version: May 2009 (fedora - 01/12/10)

Section: 5 (Format de fichier)

NAME

zarafa-dagent.cfg - The Zarafa dagent configuration file

SYNOPSIS

dagent.cfg

DESCRIPTION

The dagent.cfg is a configuration file for the Zarafa Dagent. dagent.cfg contains instructions for the software to set up the logging system and LMTP settings.

FILE FORMAT

The file consists of one big section, but parameters can be grouped by functionality.

The parameters are written in the form:

name = value

The file is line-based. Each newline-terminated line represents either a comment, nothing, a parameter or a directive. A line beginning with `#' is considered a comment, and will be ignored by Zarafa. Parameter names are case sensitive. Lines beginning with `!' are directives.

Directives are written in the form:

!directive [argument(s)]

The following directives exist:

include

Include and process argument
Example: !include common.cfg

EXPLANATION OF EACH PARAMETER

server_bind

IP address to bind to. 0.0.0.0 for any address.
Default: 0.0.0.0

server_socket

Unix socket to find the connection to the Zarafa server.
Default: file:///var/run/zarafa

run_as_user

After correctly starting, the dagent process will become this user, dropping root privileges. Note that the log file needs to be writeable by this user, and the directory too to create new logfiles after logrotation. This can also be achieved by setting the correct group and permissions.
Default value is empty, not changing the user after starting.

run_as_group

After correctly starting, the dagent process will become this group, dropping root privileges.
Default value is empty, not changing the group after starting.

pid_file

Write the process ID number to this file. This is used by the init.d script to correctly stop/restart the service.
Default: /var/run/zarafa-dagent.pid

sslkey_file

Use this file as key to logon to the server. This is only used when server_socket is set to an HTTPS transport. See the zarafa-server(1) manual page on how to setup SSL keys.
Default: value not set.

sslkey_pass

The password of the SSL key file that is set in sslkey_file.
Default: value not set.

process_model

You can change the process model between fork and thread. The forked model uses somewhat more resources, but if an crash is triggered, this will only affect one user. In the threaded model, a crash means all users are affected, and will not be able to use the service.
Default: fork

lmtp_port

Port to listen to for LMTP requests
Default: 2003

lmtp_max_threads

The maximum number of LMTP threads that can be running simultaneously. This is also limited by your SMTP server. (20 is the postfix default concurrency limit)
Default: 20

spam_header_name

To detect if the receiving mail is spam, the DAgent can check this header for a value that is in there. This name is case insensitive. If this option is empty, the detection method will be turned off. You can also force a delivery to the Junk Mail folder using the -j commandline option.
Default: X-Spam-Status

spam_header_value

When this value is found in the spam_header_name, the mail will be considered spam, and will be delivered in the user's Junk Mail folder. The value can be anywhere in the header, not just the start. The value is case insensitive.
Default: Yes,

log_method

The method which should be used for logging. Valid values are:
syslog
Use the Linux system log. All messages will be written to the mail facility. See also syslog.conf(5).

file

Log to a file. The filename will be specified in log_file.

Default: file

log_file

When logging to a file, specify the filename in this parameter. Use - (minus sign) for stderr output.
Default: -

log_timestamp

Specify whether to prefix each log line with a timestamp in 'file' logging mode.
Default: 1

log_level

The level of output for logging in the range from 0 to 5. 0 means no logging, 5 means full logging.
Default: 2

RELOADING

The following options are reloadable by sending the zarafa-dagent process a HUP signal:

log_level

FILES

/etc/zarafa/dagent.cfg

The Zarafa dagent configuration file.

AUTHOR

Written by Zarafa.

SEE ALSO

zarafa-dagent(1)