A simple example of sending mail using telnet. this sends mail to
[EMAIL PROTECTED] The bits you send are in braces {},
you do not type these!! Some hosts may be more fussy, they check that the
hostname you give and the IP address match, and may only accept mail from a
restricted list of hosts. sendmail configuration is a black art all by
itself. 

<SNIP>
{telnet remotehost.domainname.com 25}
220- remotehost.domainname.com Sendmail 940816.SGI.8.6.9/940406.SGI ready at
Tue, 24 Jul 2001 07:52:08 +0100
220 ESMTP spoken here
{HELO myhostname}
250 cadsrv1.amec-bkw.amec.co.uk Hello [10.18.254.151], pleased to meet you
{MAIL FROM: testuser}
250 testuser... Sender ok
{RCPT TO: receivername}
250 receivername... Recipient ok
{DATA}
354 Enter mail, end with "." on a line by itself
{THis}
{is}
{a}
{test}
{.}
250 HAA05197 Message accepted for delivery
{quit}
221 remotehost.domainname.com closing connection
</SNIP>

-----Original Message-----
From: Ms takara us [mailto:[EMAIL PROTECTED]]
Sent: 21 July 2001 10:13
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE:Sending a mail using telnet 25 smtp(OT)


Hi Everyone,
     This is an off topic question. But i am curious
to know the solution and so please no flames!!!
      Few days back (6th july to be precise) Anton and
George S Pereira were discussing that  anyone can send
mails using the telnet 25 smtp. Can someone elaborate
on this. I mean what will you do to avoid this in your
mailserver.
Waiting for your replies/flames in anticipation
;- )

Takara

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to