For the last two days I have done nothing else but to setup "pop3" to run
under qmail. I installed qmail by following "qmail-HOWTO"
(http://www.flunder.net/qmail/qmail-howto.html) procedure. "svscan" is
starting qmail from "/service" directory. I have two directories
"/var/qmail/supervise/qmail-send" & "/var/qmail/supervise/qmail-smtpd" which
has "run" scripts to start each of these service (as outlined in
"qmail-HOWTO").

My question is "where" to add the script to start pop3. For the last two
days I have tried everything under the sun and nothing seems to work. Two of
the following procedures I tried to adopt, should have worked but they did
not. PLEASE LET ME KNOW WHY NEITHER OF THEM IS WORKING???? 

First Try:
=======

I added a new directory as follows:

        /var/qmail/supervise/qmail-send                 (existing directory)
        /var/qmail/supervise/qmail-smtpd                        (existing
directory)
        /var/qmail/supervise/qmail-pop3                 (new directory)

In the new directory I added a "run" script with the following to start
pop3:

        #!/bin/sh
        exec /usr/local/bin/tcpserver -v -R 0 pop3
/var/qmail/bin/qmail-popup mail.tibonline.net \
          /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
          /var/qmail/bin/splogger pop3d &

RESULT:
pop3 does not start ( I use "ps auwx | grep qmail" to check whether it
started or not). All other scripts which are in directories qmail-send &
qmail-smtpd are starting!!!


Second Try:
=========
        
I added the script to start pop3 into the "run" script which is in
"/var/qmail/supervise/qmail-smtpd". This "run" script looks like the
following:

        #!/bin/sh
        QMAILDUID=`id -u qmaild`
        NOFILESGID=`id -g qmaild`
        exec /usr/local/bin/softlimit -m 2000000 \
         /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
         -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
        exec /usr/local/bin/tcpserver -v -R 0 pop3
/var/qmail/bin/qmail-popup mail.tibonline.net \
            /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
            /var/qmail/bin/splogger pop3d &

RESULT:
pop3 does not start.



What am I doing wrong? What can I do to remedy this problem?

Kirti





Kirti

Reply via email to