To manually perform a mail transaction through telnet, perform the following steps:
From a Command prompt, Type:
telnet mail.domainhere.com 25
This specifies to telnet to port 25 on a mail host for domainhere.com
220 The mail host identifies itself. This should be accompanied by several lines of introductory text:
Type:
HELO hostname.com
where hostname.com specifies your domain.
250 OK followed by the server you are connecting to.
Type:
MAIL FROM:you@hostname.com
where you@hostname.com indicates the address the mail should appear to be from.
250 OK
Type:
RCPT TO:client@domaim.com
where client@domain.com indicates the address the mail should appear to be from.
250 OK .
Type:
DATA
START MAIL INPUT, END WITH "." ON A LINE BY ITSELF Type a brief message, followed by . (Type a period on a line by itself, then hit ENTER.)
Text goes here
.
250 OK
0 comments:
Post a Comment