On Tue, May 22, 2001 at 01:43:46PM -0400, Joshua Nichols wrote:
[snip]
> FILES:
> 
> /var/qmail/supervise/qmail-send/run
> ---------------------------------------
> #!/bin/sh
> exec /var/qmail/rc
> ---------------------------------------

Looks good, as long as there is no & in /var/qmail/rc

> /var/qmail/supervise/qmail-send/log/run
> ---------------------------------------
> #!/bin/sh
> exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s2500000
> /var/log/qmail/qmail-send
> ---------------------------------------

Looks good.

> /var/qmail/supervise/qmail-pop3d/run
> ---------------------------------------
> #!/bin/sh
> tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mail.nextstepcapital.net
> /bin/ \
> checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 |
> /var/qmail/bin/splogger \
> pop3d&
> ---------------------------------------

You should remove everything behind the | (and the | itself) here.
Logging is handled by multilog as you show below, and the & at the end
makes it all respawn way often.
 
> /var/qmail/supervise/qmail-pop3d/log/run
> ---------------------------------------
> #!/bin/sh
> exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s2500000
> /var/log/qmail/qmail-pop3d
> ---------------------------------------

Looks good.

[snip]
> 
> /etc/rc.local (partial)
> ---------------------------------------
>     /etc/init.d/svscan start
>     tcpserver 0 110 /var/qmail/bin/qmail-popup mail.nextstepcapital.net \
>     /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
> ---------------------------------------

You can remove the tcpserver line, this is handled by the qmail-pop3d
supervise.

Greetz, Peter.

Reply via email to