Sending Email from telnet
Note, if you are on the computer you can sometime use the local
loopback.
In fact, sometimes you can only use the local loop back 127.0.0.1 in
place of "bozo.company.com"
1 [mchir...@soup Notes]$ telnet bozo.company.com 25
2 Trying 192.168.0.204...
3 Connected to bozo.company.com.
4 Escape character is '^]'.
5 220 bozo.company.com ESMTP Postfix (Postfix-20010228-pl03)
(Mandrake Linux)
6 HELO fakedomain.com
7 HELO fakedomain.com // server echo
8 250 bozo.company.com
9 MAIL FROM: [email protected]
10 MAIL FROM: [email protected] // server echo
11 250 Ok
12 RCPT TO: [email protected]
13 RCPT TO: [email protected] // server echo
14 250 Ok
15 DATA
16 DATA // echo
17 354 Enter mail, end with "." on a line by itself
18 This is a test message
19 This is a test message
20 to send
21 to send
22 .
23 250 2.0.0 j0B0uH3L018469 Message accepted for delivery
Above on line 6 you can type in any domain name. Line 7 is an echo.
All
echos are listed in the comment field.