User Guide
76 Kaspersky
®
SMTP-Gateway 5.0
The [smtpgw.forward] section contains the following options for relaying
messages through the application:
ForwardRoute – Routing table containing message routing options. It ex-
plicitly defines the mail server for specified domains to which the appli-
cation will send messages that should be sent to listed domains. The
values include the domain mask (special symbols "*" and "?" can be
used). and the name / IP address of the mail server the application will
connect to send email. If the default port 25 is already being used by
another application, another port number should be specified.
The [smtpgw.limits] section includes options that limit application functionality
when mail traffic scan is performed:
AntiviralSessions =10.. 1024 – Defines the number of concurrently running
anti-virus sessions (it is not recommended to increase the value of this
parameter, except for the cases when the application is overloaded).
The default value is 10.
IncomingSessions =1…1024 – Maximum number of open incoming ses-
sions. The default value is 100.
OutgoingSessions =1…1024 – Maximum number of open outgoing ses-
sions. The default value is 20.
MaximalIncomingHops=1…100 – Maximum number of intermediate hosts
for a single message. The default value is 20.
MaximalIncomingMessageSize=64…204800 – Maximum size (Kb) of an
incoming message. The default value is 10240.
MaximalIncomingMessagesPerSession=1…1024 – Maximum number of
messages that can be received during one mail session. The default
value is 100.
MaximalIncomingRcptsPerMessage=1…1024 – Maximum number of re-
cipients of a single message. The default value is 100.
MaximalIncomingSessionSize=64…2048000 – Maximum size (KB) of in-
coming messages transferred within a single mail session. The default
value is 10240.
MaximalIncomingSessionsPerIP=1…1024 – Maximum number of open
connections for receiving messages from a single IP address. The
maximum value is 4.
MaximalOutgoingSessionsPerHost=1…1024 – Maximum number of si-
multaneous connections for sending messages to a single host. The
maximum value is 4.










