Robin Bowes wrote:
> How would I change this to use PPerl?

Don't bother (as Ask says); run forkserver instead.  My primary MX boxes are
Cobalt RaQ3's which are about as lightweight as you can get (AMD-K6 @998
bogomips).  Try to max out the RAM, though, since it is usually dirt cheap for
older boxes.

> Is it worth me trying the high_perf branch?

The high_perf branch was merged to trunk and currently doesn't function as a
complete system (like tags/0.31 does) since not all of the plugins have been
rewritten to use the new code.

My advice mirrors Ask's; here is my run file:

#!/bin/sh
exec 2>&1 \
envdir ./env \
sh -c '
    exec \
        softlimit ${DATALIMIT+"-d$DATALIMIT"} \
        ${PERL-perl} -T ./qpsmtpd-forkserver \
        --listen-address "${IP-0}" \
        --port "${PORT-25}" \
        --limit-connections "${MAXCLIENTS-15}" \
        --user "${QPUSER-smtpd}"
'

If you don't want to run envdir, you can just replace those ${} constructs with
the actual values you want to use.  FWIW, what I am using is:

env/DATALIMIT:25000000
env/IP:my.ip.addr.ess
env/MAXCLIENTS:15
env/PERL:/usr/local/bin/perl5.8.1
env/PORT:25
env/QPUSER:qmaild

I actually have to specify my Perl because the Cobalt runs 5.6.1 as the system
Perl and I don't want to break the system utilities...

HTH

John

Reply via email to