QMail? - additional thoughts
gv-list-freebsdquestions at mygirlfriday.info
Sun Feb 8 21:20:39 PST 2004
--On Sunday, February 08, 2004 11:57:16 PM -0500 Brian McCann
<bjm1287 at rit.edu> wrote:
> 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!
Yes, this is what I was referring to ...
well, you can do a few things.
To see if you can send mail to yourself..
echo to: username |/var/qmail/bin/qmail-inject
you should have a test email in your mailbox.
To test your SMTP server.. with telnet..
telnet 127.0.0.1 25
response trying 127...
you type helo homer
response 250 domain
you type mail from: <you at domain>
response 250 ok
you type data
response 354 go ahead
you type Subject : a test
you type this is a test
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.
More information about the freebsd-questions