[CgpSender] Section

In the [CgpSender] section, settings for interaction between Sender and CommuniGate Pro mail transfer system are specified. This section is included in Dr.Web MailD configuration file only if the software version is designed for operation with the MTA mentioned above.

UseSecureHash = {logical}

Instructs to add the X-DrWeb-Hash header ("mark") to messages that are sent back to the mail system

The parameter value is used if Dr.Web MailD has to reject an original message after modifying it and then add the modified message to the queue of incoming email.

If No is specified, a message received by Dr.Web MailD from a mail system is transmitted directly for delivery, without performing a check, if the message was added to the mail system queue of incoming mail locally (via PIPE).

If Yes is specified, a message received by Dr.Web MailD from a mail system is transmitted directly for delivery, without performing a check, if both the message has such header and the message was added to the mail system queue of incoming mail locally (via PIPE).

Note that this parameter is used by both Sender and Receiver. Therefore, changing of the value requires not only sending of SIGHUP signal to Dr.Web Monitor (the signal makes Sender reread its configuration), but also restart of CGP mail system, which runs Receiver and makes the component reread the changed parameter value.

Default value:

UseSecureHash = No

SecureHash = {string}

Content of X-DrWeb-Hash header.

An arbitrary string of symbols (not less then 10 symbols) can be used as the parameter value. For better security, it is strongly recommended to change the default parameter value.

Default value:

SecureHash = !!!---------___EDIT_THIS___!!!

PoolOptions = {pool options}

Thread pool settings.

Default value:

PoolOptions = auto

SubmitDir = {path to directory}

Directory where drweb-cgp-sender module submits messages for CommuniGate Pro MTA to send them.

Default value:

SubmitDir = /var/CommuniGate/Submitted

SubmitFilesMode = {permissions}

Permissions for created notifications or saved messages.

Default value:

SubmitFilesMode = 0600

SubmitFilenamesPrefix = {string}

Prefix for file names of submitted messages. File name format:

%{SubmitDir}/%{SubmitFilenamesPrefix}XXXXXX

It is possible to use "%s" macro which is replaced with a message identifier given to the message by CommuniGate Pro MTA and based on the file name. Usage of this macro can simplify log file analysis.

Default value:

SubmitFilenamesPrefix = drweb_submit_%s_

SubmitFilenamesMode = {std | tai | rand48}

Naming convention for files of submitted messages:

Std – renaming files with mkstemp command.
drweb_submit_XXXXXX template is used;

Tai – renaming files according to TAI (International Atomic Time).
%sec.%usec.drweb_submit_XXXXXX template is used;

Rand48 – renaming files with lrand48 command.
drweb_submit_XXXXXXXX template is used.

Default value:

SubmitFilenamesMode = std