On Tue, Aug 14, 2001 at 02:04:51PM +0200, Gabriel Ambuehl wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> Hello,
> I've added supervising of qmail-pop3d and POP3S support via stunnel
> and qmail-pop3d to what is a pretty standard LWQ+vpopmail based
> setup.
> 
> I added the following files to the LWQ setup:
> 
> /var/qmail/supervise/qmail-pop3d/run
> #!/bin/sh
> /usr/local/bin/tcpserver -u `id -u vpopmail` -g `id -g vpopmail` -v
> - -R 0 110 /var/qmail/bin/qmail-popup \
> `hostname` /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1

Why not take the example from the Life With qmail document?
I'll give you a hint: the above lines are missing a call that starts all
'run' scripts. The child of 'supervise qmail-pop3d' is '/bin/sh' in your
script, not tcpserver as it should be.

> 
> /var/qmail/supervise/qmail-spop3d/run
> #!/bin/sh
> /usr/local/bin/tcpserver -R -H -D -c 50 \\
> - -v -u `id -u vpopmail` -g `id -g vpopmail` 0 pop3s
> /usr/local/sbin/stunnel -T -p /etc/stunnel.pem -l \
> /var/qmail/bin/qmail-popup -- qmail-popup `hostname`
> /bin/checkpassword \
> /var/qmail/bin/qmail-pop3d Maildir 2>&1

This one is missing the same crucial call.

--
Greg White

Reply via email to