On 2006-04-01 13:51:41 -0800, John Wang wrote: > On 4/1/06, Robin Bowes wrote: > > Why would you want to use xinetd instead of tcpserver? > > I'm using xinetd as a round about way to use pperl because the 0.32 README > recommends pperl for better performance (it mentions forkserver but seems to > recommend it as a backup choice when pperl is unstable).
As Ask wrote, the README should be updated.
> It says to change the run script to use a pperl line provided. I'm
> assuming it means to use pperl line instead of tcpserver since they
> both lines call the qpsmtpd script, however if tcpserver isn't used,
> the TCPREMOTE* variables dont get populated and Qpsmtpd::TcpServer
> dies.
unlike tcpserver, xinetd doesn't set the TCPREMOTE* variables. I
submitted a patch to set them in Qpsmtpd::TcpServer if they aren't
already set ages ago. The patch isn't in my RPM any more, so I guess it
must have been accepted at one time. Obviously it got lost again, and
all users of my RPM are using forkserver, so nobody complained.
hp
--
_ | Peter J. Holzer | Ich sehe nun ein, dass Computer wenig
|_|_) | Sysadmin WSR | geeignet sind, um sich was zu merken.
| | | [EMAIL PROTECTED] |
__/ | http://www.hjp.at/ | -- Holger Lembke in dan-am
pgpLWnd7VYMRj.pgp
Description: PGP signature
