Text written by Brent Clements at 12:34 AM 3/31/99 -0600:
>
>[root@manageserv /etc]# telnet 0 25
>Trying 0.0.0.0...
>Connected to 0.
>Escape character is '^]'.

You should definitely be doing "telnet 127.0.0.1 25" or "telnet localhost
25" instead, but even that may not work...

>I checked and rechecked my inetd.conf and the line that I am using is
>
>smtp    stream  tcp     nowait  qmaild  /var/qmail/bin/tcp-env 
>/var/qmail/bin/qmail-smtpd
>
>with everything on one line..

I can't believe no one else has pointed this out yet, but I'm almost
positive there should be an extra "tcp-env" in there. The line should be:

smtp   stream  tcp    nowait   qmaild   /var/qmail/bin/tcp-env  tcp-env  \
  /var/qmail/bin/qmail-smtpd

Please, someone, let me know if I'm wrong on that one.

>Or let me ask..can I have qmail-smptd be running all the time instead of 
>calling it from inetd.conf? 

As people have pointed out, tcpserver is the preferred way to run
qmail-smtpd. Aside from its technical superiority, it will be much easier
to get support on how to do various often-done things with qmail using
tcpserver, whereas getting help on how to do it with inetd will be difficult.

Tcpserver is easy to compile and install -- it worked for me the first time
out as a Linux novice on a Red Hat 4.2 system, no C guruhood required --
and works alongside inetd without a hitch. I'd strongly advise getting it
and using it in conjunction with qmail and its assorted pieces.

-----------------------------------------------------------------
                             Kai MacTane
                         System Administrator
                      Online Partners.com, Inc.
-----------------------------------------------------------------
>From the Jargon File: (v4.0.0, 25 Jul 1996)

copious free time /n./ 

1. [used ironically to indicate the speaker's lack of the quantity in
question] A mythical schedule slot for accomplishing tasks held to be
unlikely or impossible. Sometimes used to indicate that the speaker
is interested in accomplishing the task, but believes that the oppor-
tunity will not arise... 2. [Archly] Time reserved for bogus or
otherwise idiotic tasks, such as implementation of chrome, or the
stroking of suits.

Reply via email to