Login :: Register
General Topics
HostedbyMaximumASP170x35
2005 IIS MVPs
Other IIS Sites
  How to change the SMTP banner on Windows 2000 

When you use Telnet to connect to the Simple Mail Transfer Protocol (SMTP) service of a Windows 2000-based server (regardless of whether it is running Exchange 2000), the following banner is displayed:

220 hostname.domain.com Microsoft ESMTP MAIL Service, Version: 5.0.2195.2966 ready at

This may be an issue if you do not want the version of the SMTP service that is running on your server to be displayed. To remove the version information from the Windows 2000 SMTP banner, follow these steps:

  1. Download the IIS metabase editor - Version 2.2 of the IIS metabase editor can be downloaded from http://support.microsoft.com/support/kb/articles/Q232/0/68.ASP
  2. Using the IIS metabase editor select the following key

    Lm\Smtpsvc\virtual server number

    Note: Normally it will always be lm\Smtpsvc\1

  3. Click Edit, click New, and then click String.


     
  4. Verify that the entry in the ID box is Other, and then type 36907 (decimal) on the right side of the ID box.


     
  5. In the Value box, type the banner that you want to be displayed.


     
  6. Stop, and then restart the SMTP virtual server or the SMTP service.

To confirm that the banner has been changed, telnet to port 25 of the virtual server (the default setting). The "ESMTP MAIL Service, Version: 5.0.2195.1600" banner should no longer be displayed.

NOTE: The fully qualified domain dame (FQDN)(as it was entered in the SMTP service properties) and the date and time are still displayed. The following text is an example of modified banner:

220 ccrowe.adrock.co.nz Welcome to my SMTP Server Sat, 29 Sep 2001 06:54:38 +1200

- End -

 This site and its contents are Copyright 1999-2004 by IISFAQ Microsoft Corporation in no way endorses or is affiliated with IISFAQ