Matt Sergeant wrote:
I don't really understand what you mean by pperl'ing your plugins. You don't have to do any of that. _____
I assume that if I don't see any pperl pid files in /tmp that nothing is pperl'd.
I put "!#/usr/bin/pperl -Tw" at the top of qpsmtpd and every plugin and spamd.
Then, in /etc/init.d/qmail--
for p in [qpsmtpd, spamd, and all plugins named here, fullpath] do sed -n -e '1p' $p | grep "pperl" > /dev/null && \ /usr/local/bin/envuidgid qmaild /usr/bin/pperl -Tw -- \ --prefork=40 --maxclients=40 --no-cleanup $p 2>&1 done
Then the sys5-style init.d script checks the /service links and svc -u.
Reboot or "/etc/init.d/qmail start" and if all goes well, qpsmtpd and plugins and spamd all have pperl's three files for each, including pid file for each, in /tmp.
-Bob Dodds