On Mon, Sep 25, 2000 at 03:04:33AM +0800, Mark Lo wrote:
> Hi,
>
> I have just installed qmail with tcpserver (following life with qmail), in my
>/var/log/qmail/smtpd/current file, the errors messages stating that "tcpserver:
>fatal: unable to bind: address already used." and this message keeps generating
>itself until filling up all of the space. Please help me to point out for the error.
>
> my startup script in /var/qmail/supervise/qmail-smtpd/run file are as follows:
>
> #!/bin/sh
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -u qmaild`
> exec /usr/local/bin/softlimit -m 4000000 \
> /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
> -u $QMAILDUID -g $NOFILESGID 0 smtp \
> /var/qmail/bin/qmail-smptd 2>&1 > /dev/null &
Have you checked inetd.conf? If inetd is listening on port 25 (SMTP), then
this will be the inevitable result. Comment SMTP out from inetd.conf and
restart the inetd daemon with a kill -HUP.
/magnus
--
http://x42.com/