I'm new to QMail and is trying to setup a server using RH 6.2.

I'm trying to set it up to become a SMTP and POP3 server.

I have followed the instructions as given by the user guide "Life with
QMail". It was able to start fine until I added the POP3 service using
"qmail-pop3d".

I added a directory 'qmail-pop3d' in '/var/qmail/supervise' with a 'run'
file saying

  exec /usr/local/bin/softlimit -m 2000000 \
     /usr/local/bin/tcpserver -c 200 -v -p 0 pop3 /var/qmail/bin/qmail-popup
192.168.1.205 \
        /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &

The other 'run' files that I had are:-

/var/qmail/supervise/qmail-pop3d/log/run
    #!/bin/sh
    exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail/pop3

/var/qmail/supervise/qmail-smtpd/run
    #!/bin/sh
    QMAILDUID=`id -u qmaild`
    NOFILESGID=`id -g qmaild`
    exec /usr/local/bin/softlimit -m 2000000 \
         /usr/local/bin/tcpserver -c 200 -v -p -x /etc/tcp.smtp.cdb \
         -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1

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

/var/qmail/supervise/qmail-send/run
    #!/bin/sh
    exec /var/qmail/rc

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


When I started the the QMail service the error

   tcpserver : fatal: unable to bind: address already used

started apperaing non-stop on the screen. I was able to send and receive
mail via a mail client though.

What actually caused this problem? If anybody knows or have experience this
problem before, please help or point me in the right direction to the
answers. I have tried reading the man pages of 'tcpserver'. That didn't help
me.

Thanks in advance.




Reply via email to