I personally don't care to run tcpserver, although I've run it in the
past, and it worked well at that time. tcpserver is nothing but a
wrapper to enable one to 1) log connections, and 2) keep unallowed hosts
out. Xinetd does that for me. Why would any one want to run two
servers that can do the same thing?
Here's my config for xinetd. I've not yet configured it to be aware of
the RCPTHOSTS env var (or what ever it's called). Drop me a line if
you'd like.
David
service smtp
{
socket_type = stream
wait = no
user = qmaild
server = /var/qmail/bin/tcp-env
server_args = /var/qmail/bin/qmail-smtpd
log_on_success = HOST PID USERID DURATION USERID
log_on_failure = HOST RECORD ATTEMPT USERID
}
Charles Cazabon wrote:
>
> Eduardo Gargiulo <[EMAIL PROTECTED]> wrote:
> >
> > I had installed qmail and it's running ok. All the examples says to add a
> > line in /etc/inetd.conf to run qmail-smtpd, but I don't know how to
> > configure it in xinetd. Where can I find an xinetd example and what is
> > tcp-env for?
>
> Running qmail from inetd is deprecated. Download ucspi-tcp and run it under
> tcpserver.
>
> Charles
> --
> -----------------------------------------------------------------------
> Charles Cazabon <[EMAIL PROTECTED]>
> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> -----------------------------------------------------------------------