[SATLUG] using telnet to send emails
Wayne Walker
wwalker at bybent.com
Mon Dec 31 02:40:17 UTC 2007
On Sun, Dec 30, 2007 at 08:37:28PM -0600, Wayne Walker wrote:
> On Fri, Dec 28, 2007 at 03:42:51PM -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.
> >
> > chris at ubuntu:~$ telnet localhost 25
> > Trying 127.0.0.1...
> > Connected to localhost.
> > Escape character is '^]'.
> > 220 ubuntu ESMTP Postfix (Ubuntu)
> > HELO server.com
> > 250 ubuntu
> > MAIL FROM: Chris L.
> > 555 5.5.4 Unsupported option: >.
> > MAIL FROM: Chris
> > 555 5.5.4 Unsupported option:
> > MAIL FROM: Chris username at gmail.com
> > 555 5.5.4 Unsupported option: username at gmail.com
> > MAIL FROM: "Chris user at gmail.com"
> > 250 2.1.0 Ok
> > MAIL FROM: "Chris L. user at gmail.com"
> > 503 5.5.1 Error: nested MAIL command
>
> Those are all illegal email addresses.
>
> MAIL FROM: Chris L. <user at gmail.com>
Ignore me. As Brad said, only the username at domain.com is valid in the
MAIL and RCPT commands.
--
Wayne Walker
# Code comments are lies waiting to happen
wwalker at bybent.com Do you use Linux?!
http://www.bybent.com Get Counted! http://counter.li.org/
Perl - http://www.perl.org/ Perl User Groups - http://www.pm.org/
Jabber: wwalker at jabber.bybent.com AIM: lwwalkerbybent
IRC: wwalker on freenode.net
More information about the ubuntu-users
mailing list