Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Feb 2004 23:33:48 -0600
From:      Gary <gv-list-freebsdquestions@mygirlfriday.info>
To:        'FreeBSD' <questions@freebsd.org>
Subject:   RE: QMail? - additional thoughts
Message-ID:  <9750000.1076304828@[192.168.0.5]>
In-Reply-To: <001b01c3eec9$3182f8d0$6500a8c0@garfield>
References:  <001b01c3eec9$3182f8d0$6500a8c0@garfield>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Brian,

--On Sunday, February 08, 2004 11:57:16 PM -0500 Brian McCann 
<bjm1287@rit.edu> wrote:

> I don't know what you mean by "speaking SMTP".  If you are referring to
> sending the correct SMTP "commands" to tell it HELO/OLEH or whatever, I
> don't even get that far.  It literally connects, then right away
> disconnects...I don't even get the usual SMTP banner.  I'm going to
> check out that link though, thanks!

Sorry Brian, getting tired.

Here is the correct telnet connection... Missed a part..

To test your SMTP server.. with telnet..

telnet 127.0.0.1 25  (or your machine IP address)

response   trying 127...
          connecting
         Escape char...

you type  helo homer

response 250 domain

you type   mail from:<you@domain>

response 250 ok

you type  rcpt to:<you@domain>

response 250 ok

you type   data

response 354 go ahead

you type   Subject : a test

you type   this is a test.

you type . <-- (that's a period)

response 250 okay ...

you type  quit

response 221 domain ..

response connection closed by foreign host

Now, if you get an error on the telnet commands, such as "Unable to connect 
to remote host: Connection refused"

if you get this... your SMTP service is not properly configured.


-- 
Gary



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9750000.1076304828>