Title
Create new category
Edit page index title
Edit category
Edit link
SMTP server connection control
Overview
In order to protect Email Gateway Security from accidental SMTP overload or DoS attacks, throttling and tarpitting options are supported for the following use-cases:
Connecting SMTP client IP address
use-case:
connectionevaluated at the time of SMTP
HELOorEHLO
SMTP sender address
use-case:
senderevaluated at the time of SMTP
MAIL FROM
SMTP recipient address
use-case:
recipientevaluated at the time of each SMTP
RCPT TO
For the SMTP recipient address throttling, the settings apply by recipient.
For example, when an email has multiple recipients and the limit within the timeframe is reached for one recipient address, but not for the others; the penalty defined by the throttling_recipient_behaviour applies to the address only that reached the limit.
For details see the Examples below.
Potential directory harvest attempts (not hosted email addresses)
use-case:
directoryevaluated at the time of each SMTP
RCPT TO
The recipient use case has an impact on the directory use case in terms of whichever has more strict throttling_<use-case>_limit and throttling_<use-case>_interval_s will take effect on an email address that is not hosted by the system.
For details see the Examples below.
Configuration options
For each above use-case the following parameters are supported that must be specified under HKEY_LOCAL_MACHINE\SOFTWARE\OPSWAT\Metadefender Email Security\smtp_config:
Parameter | Type | Description |
|---|---|---|
throttling_<use-case>_behaviour | string | Accepted values are:
When it is set to When it is set to refuse, then a 451 SMTP status is sent when the limit set by
The appropriate penalty ( |
throttling_<use-case>_limit | dword | The number of connections allowed within the timeframe defined by |
throttling_<use-case>_burst_limit | dword | This option is to overcome the even distribution restriction described for |
throttling_<use-case>_ interval_s | dword | The timeframe in which |
throttling_<use-case>_tarpit_s | dword | When |
Examples
Throttling by the recipient
When the following options are set:
and an email arrives for two recipients: joe@loc.al and admin@loc.al and joe@loc.al has reached the throttling limit but admin@loc.al has not reached the limit yet, the following pseudo SMTP conversation will happen:
Directory harvest protection
When the following options are set:
and an email arrives to a non hosted email address, the email address gets refused after 5 attempts by the recipient use case and not only after 10 attempts by the directory use case.