Telnet is one of the best tools to test if Exchange Server can send or receive emails.
How to send email from Telnet
1. Make sure Exchange Transport service is running. If this service is stopped, then port 25 will not be opened, which can be checked by running netstat -an command.
2. Click on Start > Programs and then Microsoft Exchange Server 2007.
3. Click on the Exchange Management Console (EMC).
- Expand Server Configuration, and click on Hub Transport.
- Under Receive Connectors, open the Properties of Default PC01.
6. Click on Permission Groups on the top and select the Anonymous users check box.
- Go to the command prompt and type:
C:\telnet x.x.x.x 25 (where x.x.x.x is the name or address of Exchange Server)
- Run the following commands in telnet prompt.
ehlo
rcpt to:
receipient@domain.com
data
. dot to send email and exit
How to Read/Delete email from Telnet
1. Make sure Microsoft Exchange POP3 service is running from the Service console.
- Go to the command prompt and type:
C:\telnet x.x.x.x 110 (where x.x.x.x is the name or address of Exchange Server)
- Run the following commands in telnet prompt.
user xxxx (xxxx any user name)
pass xxxx (any user password)
list (display the list of all email and their size)
top 1 5 (display the first 5 rows of first message)
dele 1 (to delete first message in the row)
. (enter dot to delete the message and to quit)
No comments:
Post a Comment