Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I type the following command and connect to my production server (Windows 2008):

telnet myserver 25

I see the following result:

220 myserver Microsoft ESMTP Mail Service, Version: 7.0.xxx ready dat Fri, 7 Mar 2014, 09:55 +0100

I would like to hide the version number from this reply. Is there any way I can do this?

share|improve this question

migrated from security.stackexchange.com Mar 7 '14 at 16:56

This question came from our site for information security professionals.

Go to cmd.exe then run

cd c:\Inetpub\Adminscripts
cscript adsutil.vbs set smtpscv/ vsi number /connectresponse “New banner here”
share|improve this answer
1  
that admin script is optional. check IIS > Web Management Tools > IIS 7 Management Capability > IIS 7 Scripting Tools to see if it's enabled. Ill double check this just starting up my server. – Tim Williams Mar 7 '14 at 10:02
    
I don't have experience with W2K8s. If you enabled IIS scripting tools it should be there. I can post the contents of adsutil.vbs or give you a link to the copy I have. Let me know how you go. You should also be able to edit the banner by following this guide as Adnan mentioned however iv never used this method personally support.microsoft.com/default.aspx?scid=kb;en-us;281224 – Tim Williams Mar 7 '14 at 11:25
    
The smtpsvc/1/connectresponse does not work to me. – Rob Mar 10 '14 at 7:24

I've found the answer after a while and decided to help others which have the same question.

If you open the MetaBase.xml go to

  1. <IIsSmtpServer Location ="/LM/SmtpSvc/1"
  2. Add ConnectResponse="String of Your Own Choice here" to the step above.
  3. Reboot your server if EnableEditWhileRunning is not enabled

The version is hidden now.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .