Kaspersky Lab kaspersky anti-virus-smtp-gateway 5.5 for linux & unix User Guide
Advanced settings
53
•
Timeout for starting the DATA command (ReceivingDataInitia-
tionTimeout option).
•
Timeout for stopping the DATA transfer by the remote server
(ReceivingDataTerminationTimeout option).
•
Timeout for waiting for commends HELO/EHLO, MAIL FROM,
RCPT TO, QUIT of the remote server (SendingDataInitiation-
Timeout option).
Timeout option).
6.1.4. Setting performance restrictions
Kaspersky SMTP-Gateway provides the administrator with the possibility to
setup certain limits when working with the application. In some cases, this may
help reduce the load on your server, increase performance, prevent spam
relaying through your server. In addition, using network restrictions, it is possible
to prevent and fight some types of attacks, such as DOS attacks aimed at
paralyzing your mail server with huge volumes of mail traffic.
setup certain limits when working with the application. In some cases, this may
help reduce the load on your server, increase performance, prevent spam
relaying through your server. In addition, using network restrictions, it is possible
to prevent and fight some types of attacks, such as DOS attacks aimed at
paralyzing your mail server with huge volumes of mail traffic.
You can find restriction settings in the [smtpgw.limits] section of the
application configuration file.
application configuration file.
You can set the following restrictions:
• Number of objects concurrently processed by one module (for the re-
ceiver, sender, and AV modules; the IncomingSessions, Out-
goingSessions, and AntiviralSessions options, respectively).
goingSessions, and AntiviralSessions options, respectively).
• Maximum number of message hops (MaximalIncomingHops option).
Set this parameter to avoid looping due to incorrect configuration of
the routing table.
the routing table.
• Limit the maximum message size received at the server (Maximal-
IncomingMessageSize option) and the total number of messages re-
ceived during one mail session (MaximalIncomingMessagesPer-
Session option).
ceived during one mail session (MaximalIncomingMessagesPer-
Session option).
• Limit the number of recipients of a single message (MaximalIncom-
ing-RcptsPerMessage option). This parameter restricts spam which
is addressed to your users.
is addressed to your users.
• Maximum size of a single mail session (MaximalIncomingSession-
Size option).
• Maximum number of simultaneous connections from one and the
same IP (or host) that are processed by the receiver and by the