Commands to Test SMTP routing:
· Telnet into the mail backbone using TCP port 25 : telnet 10.100.201.17 25
·
Start
communication by this command:
HELO sp011.xyz.com
·
Type the
following command to tell the receiving SMTP server who the message is
from: mail
from: user@xyz.com
response
should be - 250 2.1. user@xyz.com .... Sender OK
· Type the following command to tell the receiving SMTP server whom
the message is to. Use a valid recipient SMTP address in the domain that you
are sending to.
rcpt to: user2@xyz.com <enter>
response
should be - 250 2.1.5 user2@xyz.com
· Type this command to tell the SMTP server that you are ready to
send data:
data<enter>
response should be - 354 Start mail
input; end with <CRLF>.<CRLF>
This is a
test from SP011
Queued mail for delivery
· Close the connection by typing the following command: QUIT
·
Check if
email is received or not.
No comments:
Post a Comment