"INSOMNIA - Janusz Oles" <[EMAIL PROTECTED]> wrote:

>how about if I add couple of lines to /etc/rc.d/init.d/qmail

What you added looks good.

>how about run file in /var/qmail/supervise/qmail-pop3d/
>What should I type in to that run file?

Model it after qmail-smtpd/run, but use the qmail-pop3d invocation
from LWQ. E.g., something like:

#!/bin/sh
exec /usr/local/bin/softlimit -m 2000000 \
    /usr/local/bin/tcpserver -v -R 0 POP3 /var/qmail/bin/qmail-popup FQDN \
        /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1

Then make qmail-pop3d/log/run:

#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
    /var/log/qmail/pop3d

Don't forget to:

  chmod +t /var/qmail/supervise/qmail-pop3d

And generally make sure that the owners/modes of the
/var/qmail/supervise/qmail-pop3d tree match
/var/qmail/supervise/qmail-smtpd and likewise for /var/log/qmail/pop3d
and /var/log/qmail/smtpd.

-Dave

Reply via email to