Export (0) Print
Expand All

3.2.7 Other Local Events

ConnectionEstablished event: Occurs when a TCP connection is established to the server on the configured SMTP port. The server MUST initialize a ConnectionTimer, as specified in section 3.2.2, for each connection. If the server is a gateway server, as specified in [RFC5321] section 2.3.10, the ConnectionTimer MUST be set to 5 minutes. If the server is a relay server, as specified in [RFC5321] section 2.3.10, the ConncectionTimer MUST be set to 10 minutes. The server MUST initialize a ConnectionInactivityTimer, as specified in section 3.2.2, for each connection. The ConnectionInactivityTimer is set to a value configured by the administrator.

CommandReceived event: Occurs when the server receives a command from the client. The server MUST reset the ConnectionInactivityTimer associated with the client's TCP connection to the timeout value configured by the administrator.

MaxHopCount event: Occurs when the number of Received header fields, as specified in [RFC5321] section 6.3, exceeds the configured maximum. The SMTP response code MUST indicate a permanent failure, as specified in [RFC5321] section 4.2.1. This response is sent at the end of a DATA command, as specified in [RFC5321] section 4.1.1.4, or a BDAT command, as specified in [RFC3030].

MaxLocalHopCount event: Occurs when the server has received the message more than the configured maximum number of times. The SMTP response code MUST indicate a permanent failure, as specified in [RFC5321] section 4.2.1. This response is sent at the end of a DATA or BDAT command.

TooManyRecipients event: Occurs when the number of recipients exceeds the configured maximum. The SMTP response code MUST indicate a transient failure, as specified in [RFC5321] section 4.2.1. This response MUST be sent at the end of a RCPT TO command, as specified in [RFC5321] section 4.1.1.3.

MessageRateLimitExceeded event: Occurs when the message submission rate for a client has exceeded the configured limit. The SMTP response code MUST be 421, as specified in [RFC5321] section 4.2.2, and the enhanced status code, as specified in [RFC2034], MUST be 4.4.2. This response MUST be sent at the end of a MAIL FROM command, as specified in [RFC5321] section 4.1.1.2. The server MUST end the session.

HeaderSizeExceeded event: Occurs when the message header size exceeds the configured size limit. The SMTP response code MUST be 552 and the enhanced status code MUST be 5.3.4. This response MUST be sent at the end of a DATA or BDAT command.

MessageSizeExceeded event: Occurs when the message size exceeds the configured size limit. The SMTP response code MUST be 552 and the enhanced status code MUST be 5.3.4. This response MUST be sent at the end of a DATA or BDAT command.

ProtocolViolationCount event: Occurs when the configured maximum number of logon or protocol errors is exceeded. The SMTP response code MUST be 421 and the enhanced status code MUST be 4.7.0. The server MUST end the session.

OutOfResources event: Occurs when a client initiates a TCP connection to the server and the server is low on memory or disk space. The SMTP response code MUST be 452 and the enhanced status code MUST be 4.3.1.

NewConnectionNotAvailable event: Occurs when an SMTP server cannot process a new connection. It indicates that the process has stopped responding or is in a crashed condition. The SMTP response code MUST be 421 and the enhanced status code MUST be 4.4.2. The server MUST end the session.

BindingNotConfigured event: Occurs when an SMTP server is not configured to accept connections from a client at a specific IP address or from the specific user. The SMTP response code MUST be 421 and the enhanced status code MUST be 4.3.2. The server MUST end the session.

ConnectionCountExceeded event: Occurs when an SMTP server has exceeded the configured maximum concurrent inbound connections. The SMTP response code MUST be 421 and the enhanced status code MUST be 4.3.2. The server MUST end the session.

ConnectionCountPerSource event: Occurs when an SMTP server has exceeded the configured limit on inbound connections for an IP address. The SMTP response code MUST be 421 and the enhanced status code MUST be 4.3.2. The server MUST end the session.

IPAddressNotAllowed event: Occurs when a gateway SMTP server binding receives a connection from an IP address that the server has been configured to not accept connections from. The SMTP response code MUST be 550 and the enhanced status code MUST be 5.7.1.

AcknowledgementDelay event: Occurs when the server waits longer than the configured time limit for a mail item to be delivered to the next hop. This event occurs after the end of DATA or BDATLAST command, as specified in [RFC3030] section 2. If the AcknowledgementDelay event occurs, the server MUST send acknowledgment of receiving the mail item even if transport has not delivered the item to the next hop. The server sends the response as specified in [RFC5321] and processes the next command. The server state does not change.

Tarpit event: Occurs at the end of a command when the server sends an error message to an unauthenticated user, and once again if the same client connects to the server. The server MUST ignore connection attempts for 5 seconds and then send the response to the client. The server sends the response as specified in [RFC5321] and processes the next command. The server state does not change.

Show:
© 2015 Microsoft