Actually, I'm setting up a completely new system. Briefly reading the
information on the wiki, it appears that this is the best way for me to
go, since I won't be using apache, and pollserver doesn't sound stable.

First issue: If the plugins (Most are highly customized) run under
forkerserver, will they be expected to run under pre-fork without
modification? I'm trying to recall some of the discussions, and I think
the issues were with pollserver - something about async code(?).

Second issue: I'm confused by the run file. My current forkserver run file
is similar to the /var/tmp/qp_fork/run file shown on the wiki:
http://wiki.qpsmtpd.org/install:quick-install_howto :

#!/bin/sh
exec 2>&1 \
sh -c '
  exec \
    /usr/local/bin/softlimit -m 25000000 \
    ${PERL-perl} -T ./qpsmtpd-forkserver \
    --listen-address 0 \
    --port 2525 \
    --limit-connections 40 \
    --max-from-ip 10 \
    --user smtpd
'

However, the run file, as unpacked, looks like this:

#!/bin/sh
QMAILDUID=`id -u smtpd`
NOFILESGID=`id -g smtpd`
LANG=C
exec /usr/local/bin/softlimit -m 50000000 \
  /usr/local/bin/tcpserver -c 10 -v -R -p \
  -u $QMAILDUID -g $NOFILESGID `head -1 config/IP` smtp \
  ./qpsmtpd 2>&1

Will pre-fork work by using the example (not the unpacked run file),
substituting the pre-fork executable and supplying appropriate parameters?

Thanks
J

Reply via email to