Hello,
This set up used to work with qmail and RH7.0. It uses vpopmail so if
you have a standard qmail instalation you'll have to change vchkpw to use
checkpassword.
Each service is in one file inside /etc/xinet.d. Read xinet man pages to
allow and deny connections, set a maximun number of concurrent connections,
bind and external ip to an internal ip, configure your logs, etc...
tcpserver was the only solution before xinet and it is still the best
solution for advanced qmail instalations. For nothing too complicated xinet
can do the job perfectly... and it is most straightforward than tcpserver.
So the choice depends on your needs.
Bye.
/etc/xinet.d/smtp
# default: on
service smtp
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = qmaild
server = /var/qmail/bin/tcp-env
server_args = /var/qmail/bin/qmail-smtpd
log_on_success += USERID
log_on_failure += USERID
}
/etc/xinet.d/pop
# default: on
service pop3
{
disable = no
socket_type = stream
wait = no
user = root
server = /var/qmail/bin/qmail-popup
server_args = your.mail.server /home/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir
log_on_success += USERID
log_on_failure += USERID
}
----- Original Message -----
From: Jeff Lacy <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 27, 2000 2:56 AM
Subject: Xinetd & Qmail
> Hello Everyone,
>
> I'm new to this list, so please forgive me if this has been asked
before
> or is really dumb.
>
> I'm running RH7.0 and I would like to run qmail. I thought I had it
> working once, but I was just calling tcpd from xinetd and that seemed a
> little foolish. I have been messing around with xinetd all day and my
> progress has been -42. Qmail accepts messages, but then they just sort of
> disappear. I think it all stems from a problem with my xinetd
> configuration. I have searched the internet and everything I find is
> different from everything else. I am looking for the 'definitive' thing
to
> use with xinetd. Hopefully, it should have logging and not use anything
> toooo complex (and allow relaying from my lan).
>
> I would also really appreciate it if someone would tell me why so many
> people use tcpserver instead of xinetd. I understand that tcpserver can
be
> run continually, but xinetd only starts smtpd (or whatever) when someone
> connects to port 25. I am going to be running a very very (did I mention
> very) low-volume mail server.
>
> PLEASE someone, just tell me what to do. Thanks very much in advance.
> Maybe now I can put down my virtual water gun. Thanks.
>
> Despairing Jeff
>
>