using telnet to send emails
Your Momma
christopher.lemire at gmail.com
Fri Dec 28 22:49:19 UTC 2007
That's not what I want. I know how to do that much. That will tell what email address the mail was sent from but not the person sending it.
Smoot Carl-Mitchell <smoot at tic.com> wrote:
On Fri, 2007-12-28 at 15:42 -0600, Chris Lemire wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> How can I send an email using telnet and my mail server including my
> name. For example.
You need to understand SMTP. You can look at RFC821 here:
http://www.faqs.org/rfcs/rfc821.html
Here is a dialogue which does what you want:
csh> telnet mail.tic.com 25
Trying 68.14.224.76...
Connected to ns1.tic.com.
Escape character is '^]'.
220 ns1.tic.com ESMTP Sendmail 8.14.1/8.14.1/Debian-8ubuntu1; Fri, 28
Dec 2007 15:08:00 -0700; (No UCE/UBE) logging access from:
wsip-68-14-224-77.ph.ph.cox.net(OK)-wsip-68-14-224-77.ph.ph.cox.net
[68.14.224.77]
helo whatever
250 ns1.tic.com Hello wsip-68-14-224-77.ph.ph.cox.net [68.14.224.77],
pleased to meet you
mail from: smoot at tic.com
250 2.1.0 smoot at tic.com... Sender ok
rcpt to: smoot at tic.com
250 2.1.5 smoot at tic.com... Recipient ok
rcpt to: ccm at tic.com
250 2.1.5 ccm at tic.com... Recipient ok
data
354 Enter mail, end with "." on a line by itself
From: Smoot at tic.com
Subject: test
test message
.
250 2.0.0 lBSM80w5013172 Message accepted for delivery
quit
221 2.0.0 ns1.tic.com closing connection
Connection closed by foreign host.
--
Smoot Carl-Mitchell
System/Network Architect
email: smoot at tic.com
cell: +1 602 421 9005
home: +1 480 922 7313
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
---------------------------------
Never miss a thing. Make Yahoo your homepage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071228/3cfbe07c/attachment.html>
More information about the ubuntu-users
mailing list