Re: Sending Email Via Telnet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




From: John Reddy <linuxpencil@xxxxxxxxxxx>
To: centos@xxxxxxxxxx 
Sent: Tuesday, October 16, 2012 7:30 AM
Subject: Re:  Sending Email Via Telnet
 

>So I go to this page and get an example of how to do this:
>http://www.freebsdwiki.net/index.php/SMTP,_testing_via_Telnet
>and follow the example:
>
>[root@mydomain john]# telnet 127.0.0.1 25
>Trying 127.0.0.1...
>Connected to 127.0.0.1.
>Escape character is '^]'.
>HELO justtesting
>MAIL FROM: testing@xxxxxxxxx
>RCPT TO: testing@xxxxxxxxx
>DATA
>To: testing@xxxxxxxxx
>From: testing@xxxxxxxxx
>Subject: testing
>Date: Tu, Oct 2012 10:21:11 -0500
>Testing
>.
>QUIT

Something isn't quite right with your setup.  When you do the "HELO" command, the server should reply with something.  For example:

==
$ telnet smtp.comcast.net 25
Trying 76.96.40.155...
Connected to smtp.comcast.net.
Escape character is '^]'.
220 omta12.emeryville.ca.mail.comcast.net comcast ESMTP server ready
HELO comcast.net
250 omta12.emeryville.ca.mail.comcast.net hello [69.24.1.7], pleased to meet you
==

Does the mail server ever return anything back to you?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux