James <[EMAIL PROTECTED]> wrote:
>I am trying to allow relaying for a couple of users through qmail. I have
>gone through the steps suggested at:
>
>http://www.palomine.net/qmail/selectiverelay.html
>
>But I am not sure I have done the initial steop of "downloading and
>installing" the ucspi-tcp package.. where do I need to install that
>package? I've installed it in a personal directory, and when I need to
>use the tcprules command, I just address the command to the directory
>tcprules is located. Maybe this is the wrong spot to have it?
It doesn't really matter where it's installed.
>Also, once I get down to the step:
>tcpserver -x/etc/tcp.smtp.cdb -u503 -g502 0 smtp
>/var/qmail/bin/qmail-smtpd &
>(given in one line), I get this error:
>"tcpserver: fatal: unable to bind: address already used"
>What am I doing wrong?
Something is already listening to port 25 (SMTP). Presumably you have
an entry in /etc/inetd.conf for qmail-smtpd? You need to comment it
out and send inetd a HUP signal (killall -HUP inetd).
-Dave