Change the 220 response code message for telent port 25
Posted on 2004-04-29
Normally when we telnet to port 25 of SMTP server we used to get 220 header message
saying "220 mail.imc.org SMTP service ready" or "220 smtp01.northamerica.corp.microsoft.com Microsoft ESMTP MAIL Service, Version: 5.0.2172.1 ready at Tue, 29 Feb 2000 18:55:48 -0600".
What i want is that i need to change the Header message banner ( code ?) to something like "220 XXXX.XXX.XXX XXXX XXXXXXX XXXXX" where as the person who telnet to port 25 won't get any infomation and they should not be using help and few other command like VRFY kind off.
I am sure it is possible & i have seen this with my last conpany but I am not sure about where to edit the header.And also to disable few commands.
I need this solution for both sendmail and excahnge 2000 as well.
You help is very much appreciated.