User Guide

78 Kaspersky
®
SMTP-Gateway 5.0
compliant with the standards, after which certain actions as per the con-
figuration file settings will be performed. If the option is set to true, then
the messages that do not comply with the standards, will not be deliv-
ered.
The [smtpgw.path] section contains paths to archives, management files and
the working queue of the application:
IncomingArchivePath – Path to the directory where the archive with all in-
coming messages is stored. If the option is set to an empty string or if
the option is excluded altogether, then the received messages will not
be archived.
OutgoingArchivePath – Path to the directory where the archive with all
outgoing messages is stored. If the option is set to an empty string or if
the option is excluded altogether, then the sent messages will not be
archived.
QueuePath – Path to the directory that stores the working queue of objects
to be processed by the application. Required parameter.
ControlPath – Path to the application management files. Required parame-
ter.
The [smtpgw.timeouts] section contains application timeout options:
MaximalBackoffTime=60…64800 – Maximum period of time (in seconds)
that must elapse before the application will try to send an undelivered
message next time. The default value: 21600.
MinimalBackoffTime=64…64800– Minimum time (in seconds) that must
elapse before the application will try to send an undelivered message
next time. The default value: 1800.
Please pay attention that the value, set for UnreachableCacheRe-
freshPeriod parameter, should be less than MinimalBackoffTime.
Otherwise, a situation could occur when a repeated attempt to send
message will take place in a period of time less than Unreachable-
CacheRefreshPeriod, the application will find information about un-
reachable host in cache and will not attempt to send such a message.
MaximalQueueLifetime=1…14 – Period (in days) during which the applica-
tion will try to send a message that was not delivered. If the message
could not be delivered during the specified time, it will be deleted and a
notification about failed delivery will be generated. The default value: 5.
MXCacheRefreshPeriod=60…64800
– Period of time (in seconds) for stor-
ing information about MX-records. Upon a DNS request, the application
defines MX records and, provided that the lifetime of these records
(TTL, defined in DNS) exceeds the value of MXCacheRefreshPeriod,
the application caches them for the period=TTL. During this time, the