Why not use tcpserver?
My experience with xinetd has been terrible.
By the way, try to set RELAYCLIENT="".
> -----Original Message-----
> From: John Evans [mailto:[EMAIL PROTECTED]]
> Sent: jueves, 12 de abril de 2001 20:28
> To: [EMAIL PROTECTED]
> Subject: xinetd, tcpwrappers and qmail
>
>
> I've read through the archives and I'm still having problems
> with allowing
> selective relaying. Here are the settings that I am using:
>
> -------- /etc/xinetd.conf
> defaults
> {
> log_type = FILE /var/log/servicelog
> log_on_success = HOST PID EXIT DURATION
> log_on_failure = HOST RECORD
> }
>
> service smtp
> {
> socket_type = stream
> wait = no
> protocol = tcp
> user = qmaild
> group = nofiles
> flags = REUSE NAMEINARGS
> server = /usr/sbin/tcpd
> server_args = /var/qmail/bin/tcp-env -R
> /var/qmail/bin/qmail-smtpd
> }
> --------
>
> -------- hosts.allow
> tcp-env: LOCAL, .foo.org, .foo.com: setenv RELAYCLIENT
> --------
>
> When I attempt to send mail from localhost (via SMTP) or from
> an allowed
> domain, I alway receive the message:
> 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
>
> Of course, mail going to my rcpthosts works just fine...
>
> I am missing something in my settings, but I just can't find
> what it is.
>
> I tried using tcpserver and that worked for allowing
> selective relaying, but
> connections to any port from systems other than localhost
> usually took 30-45
> seconds between getting the socket and getting the banner
> from the server.
> There is no tcpserver mailing list that I could find and none
> of the man pages
> or online documenation told me how to fix this problem.
> Please don't suggest
> that I use tcpserver to resove this issue because it introduces larger
> problems.
>
> Thank you!
>
> --
> John Evans
>
>
> ____________________________________________________________________
> Get free email and a permanent address at
> http://www.netaddress.com/?N=1
>
This message and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
No confidentiality or privilege is waived or lost by any wrong transmission.
If you have received this message in error, please immediately destroy it
and kindly notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or
copy any part of this message if you are not the intended recipient.
Opinions, conclusions and other information in this message that do not
relate to the official business of Newknow shall be understood as neither
given nor endorsed by it.