Mar 10

What is SMTP ?

A protocol to allow mail servers to exchange messages with each other.

What is telnet ?

Telnet is a user command and an underlying TCP/IP protocol for accessing remote computers

mail specification that i use:

ii  sendmail                              8.14.2-2build1                        powerful, efficient, and scalable Mail Trans
ii  sendmail-base                         8.14.2-2build1                        powerful, efficient, and scalable Mail Trans
ii  sendmail-bin                          8.14.2-2build1                        powerful, efficient, and scalable Mail Trans
ii  sendmail-cf                           8.14.2-2build1

Okay here is what i do on my shell

# telnet localhost 25
Trying 127.0.0.1…
Connected to localhost.
Escape character is ‘^]’.
220 blog.test.org ESMTP Sendmail 8.14.2/8.14.2/Debian-2build1; Tue, 10 Mar 2009 12:25:30 +0700; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1]
helo blog.test.org
250 binusianblog.blog.binusian.org Hello localhost [127.0.0.1], pleased to meet you
mail from:blog.test.org
250 2.1.0 test@blog.binusian.org… Sender ok
rcpt to: testing@gmail.com
250 2.1.5 testing@gmail.com… Recipient ok
data
354 Enter mail, end with "." on a line by itself
this is a test using telnet.
.
250 2.0.0 n2A5PUKw012413 Message accepted for delivery
quit
221 2.0.0 binusianblog.blog.binusian.org closing connection
Connection closed by foreign host.
 

Leave a Reply