Microsoft KB Archive/257569

= How to turn off ESMTP verbs in Exchange 2000 Server and in Exchange Server 2003 =

Article ID: 257569

Article Last Modified on 1/27/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Standard Edition
 * Microsoft Exchange 2000 Server Standard Edition
 * Microsoft Windows 2000 Standard Edition

-



This article was previously published under Q257569



SUMMARY
Because of compatibility issues between Microsoft Exchange 2000 Server or Microsoft Exchange Server 2003 and other Simple Mail Transfer Protocol (SMTP) mail servers, you may have to turn off individual Extended Simple Mail Transfer Protocol (ESMTP) verbs that are advertised during the initial SMTP connection. This article describes the various settings that control the ESMTP advertisement.



MORE INFORMATION
By default, Exchange Server advertises the following ESMTP verbs. 220 server.domain.com Microsoft ESMTP MAIL Service, Version: 5.0.2195.1 ready at Wed, 15 Mar 2000 17:37:07 -0800 ehlo ee.com 220 server.domain.com Microsoft ESMTP MAIL Service [5.0.2195.1] 250-TURN 250-ATRN 250-SIZE 2097152 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime 250-BINARYMIME 250-CHUNKING 250-VRFY 250-X-EXPS GSSAPI NTLM LOGIN 250-X-EXPS=LOGIN 250-AUTH GSSAPI NTLM LOGIN 250-AUTH=LOGIN 250-XEXCH50 250-X-LINK2STATE 250 OK These verbs are controlled in the metabase and in Exchange Server event sinks. When you disable the event sinks, you may hinder Exchange Server performance. Therefore, this article focuses only on the ESMTP verbs that are controlled by the metabase.

The following verbs are controlled by the metabase:

250-TURN 250-ATRN 250-ETRN 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime 250-BINARYMIME 250-CHUNKING Each of these verbs is represented by a hexadecimal value. These hexadecimal values are added to form a single number that represents the various on or off switches for these verbs. This number (in decimal format) is stored in the SmtpInboundCommandSupportOptions value, which can be found in under Lm/Smtpsvc/1LM in the metabase and in the msExchSmtpInboundCommandSupportOptions in the Active Directory under CN=1, CN=SMTP, CN=Protocols, CN=SERVER, CN=Servers, CN=First Administrative Group, CN=Administrative Groups, CN=Organization, CN=Microsoft Exchange, CN=Services, CN=Configuration, DC=domain, DC=com

NOTE: Where CN=1 is the first or Default SMTP Virtual Server, CN=SERVER is the servername of the Exchange Server, CN=Organization is the name of the organization, and DC=domain is the name of the Active Directory or Domain Name Server (DNS) domain.

Note that the metabase value listed above correlates to the metabase ID number 36998. This information may be useful when you are using the MetaEdit tool.

The following table lists the representation in hexadecimal.

By default, this value is 7697601 (0x7574C1H). When you subtract the corresponding decimal value from this number, you can turn on or off the various ESMTP verbs. For example, when you turn off 8bitmime support, the value that results is SmtpInboundCommandSupportOptions value is 3503297 (0x3574C1H). To disable all ESMTP verbs listed in the table above, the value would be 352257 (0x56001).

Prior to Microsoft Exchange 2000 Server, this value could be modified in the metabase using tools such as CSCRIPT with Adsutil.vbs or MetaEdit. However, in Exchange 2000 Server and in Microsoft Exchange Server 2003, values in the metabase are subordinated to values in the Active Directory. A process called the "Microsoft Exchange Metabase Update" service (listed as MSExchangeMU in the Application event log) runs every 15 minutes and compares the values in the metabase with corresponding values in Active Directory. If the values are different, then the value in the metabase is overwritten with the value from the Active Directory. Thus, in order to make these changes effective, you must modify the msExchSmtpInboundCommandSupportOptions value in the Active Directory using either LDP or ADSIEdit.

To modify this value by using ADSIEdit, complete the following steps:  Open ADSIEdit and connect to a domain controller. Open the Configuration Container. Navigate to the following location:

Configuration/Services/Microsoft Exchange/ / Administrative Groups//Servers/ /Protocols/SMTP/ 

 Right-click the virtual server object, and then click Properties.</li> For Select a property to view: select msExchSmtpInboundCommandSupportOptions.</li> In the Edit Attribute: field, enter the value you want to set.

NOTE: This value is based on the summation of values from the table above.</li> Click Set, Apply, and then OK.</li> Exit out of ADSIEdit.</li></ol>

There may be a delay before this change takes effect because Active Directory replication may be required before the specified Exchange Server sees the value you have modified. Internal tests discovered that to restart the Internet Information Server (IIS) Administration Service may not force the update to occur faster.

NOTE: ADSIEDIT.exe is graphical administrative tool which is part of the Windows 2000 Support Tools, which are available on the Windows 2000 installation CD-ROM in the \Support\Tools directory.

NOTE: If you disable ESMTP verbs on an Exchange Server, this may affect communication with other Exchange Servers. The effects may include breaking normal mail flow between servers.

Additional query words: commands disable XFOR 8-bit MIME 8 bit mime 8bitmime

Keywords: kbinfo KB257569

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.