Help and Support

Error Message: SMTP command exceeded its allowed length

Article ID:312213
Last Review:November 2, 2006
Revision:4.0
This article was previously published under Q312213

SYMPTOMS

You may receive the following Event ID 240 error message:
SMTP command exceeded its allowed length
Additionally, in Microsoft Exchange, an error that resembles the following may be logged in the Simple Mail Transfer Protocol (SMTP) log:
421 5.5.2 Syntax error (command line too long)

Back to the top

CAUSE

This issue may occur if a Microsoft Internet Security and Acceleration (ISA) Server-based computer has an SMTP Application Filter that is turned on. The default SMTP filter value for a NOOP SMTP command is 6 bytes. Exchange Server 5.0 sends a NOOP SMTP command that is longer than 6 bytes when it sends SMTP mail.

Back to the top

RESOLUTION

To resolve this issue, increase the SMTP filter value for the NOOP command in the ISA Server SMTP application filter to 1,024.

Back to the top

MORE INFORMATION

The NOOP command is one of seven minimum SMTP commands that have to be allowed for the SMTP process. This command does not affect any parameters or previously entered commands. The command specifies no action other than that the receiver send an OK reply. This command does not affect the reverse-path buffer, the forward-path buffer, or the mail data buffer and may be issued at any time. If a parameter string is specified, servers should ignore it.

The syntax of the NOOP command is as follows:
"NOOP" [ SP String ] CRLF
Note There is no Requests for Comments (RFC) that specifies the default size of the NOOP command. The command is 6 bytes by default (N + O + O + P + CR + LF).

For more information, see RFC 821, "Simple Mail Transfer Protocol" and RFC 2821, "Simple Mail Transfer Protocol." To see these RFCs, visit the following Web site:
http://www.rfc-editor.org/ (http://www.rfc-editor.org/)
For more information about how to publish Exchange servers by using ISA, click the following article number to view the article in the Microsoft Knowledge Base:
287646 (http://support.microsoft.com/kb/287646/) How to publish an Exchange 2000 Server computer or an Exchange Server 2003 computer by using Internet Security and Acceleration (ISA) Server 2000

Back to the top


APPLIES TO
Microsoft Windows 2000 Server
Microsoft Exchange Server 5.0 Standard Edition

Back to the top

Keywords: 
kberrmsg kbprb KB312213

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.