To configure your banner in Microsoft Exchange 2003
- Open command prompt and cd (change directory) to “C:\inetpubadminscripts”
- Type the following line, and then press ENTER:
- cscript adsutil.vbs set smtpsvc/vsi number/connectresponse “Your Text”
- In this line, vsinumber is the number of the SMTP virtual server, and Your Text is the text that you want to appear instead of the default response.
- To complete this procedure, stop and restart the SMTP service
- Type “net stop smtpsvc” and then press ENTER.
- Type “net start smtpsvc” and the press ENTER.
- Type exit, and then press ENTER.
To configure your banner in Microsoft Exchange 2007
- Open Powershell
- Enter the following Command:
- Set-ReceiveConnector <ConnectorIdentity> -Banner “<220 YOUR_TEXT_HERE>”
- Test via telnet
- Telnet to the server via port 25, You should get a response with your modified banner.
- Type quit to close the session.
Reference Docs:
1. Microsoft Technet: How to Modify the Default SMTP Banner (2007)
2. Microsoft KB: How to change the default connection response that you receive after you connect to the SMTP port in Exchange 2003
3. Petri: How can I change the SMTP banner seen when connecting to my Exchange server via Telnet?


