Let this be a lesson to everbody. I followed Dave's LWQ to the letter
OR !!!!! I thought I did. That was the problem. There were 2 letters
(characters) missing at various points. God knows how many times I checked and
others checked and we kept missing the letter d in smtpd at one point and an
upper case S in NOFILESGID at another.
Read carefully. Qmail works and works well if you do as Dave says. Get it going
then make any changes.
Thanks Dave... The time you spend makes all our lives a lot easier.
Eric
Eric Fletcher <[EMAIL PROTECTED]> wrote:
>I get the following error message repeated every minute.
>
>I've checked and rechecked my D. Sill bible and all "seems" to be correct.
>
>I can send and receive email fine. Allow relay for remote hosts works
>properly also.
>
>tcpserver: fatal: unable to figure out port number for /var/qmail/bin/qmail-smtp
>
>Ideas ???
Your /var/qmail/supervise/qmail-smtpd/run file should look like:
#!/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
It sounds like QMAILDUID and/or NOFILESGID aren't getting set. You
don't say what platform you're on, but it's possible that "id" isn't
in the path when the script is run, or doesn't support the -u and -g
options. Try running:
id -u qmaild
If that fails, do "man id". See if your system has an "id" that will
work. Solaris, for example, has one in /usr/xpg4/bin/id. Change the
run script to specify the location of the correct "id" command, e.g.:
QMAILDUID=`/usr/xpg4/bin/id -u qmaild`
NOFILESGID=`/usr/xpg4/bin/id -g qmaild`
Talk about gratutious incompatibility...
-Dave
--
Eric Fletcher - Data Center Support
Dialtone Internet - Extremely Fast Web Systems
(954) 581-0097 - Voice (954) 581-7629 - Fax
[EMAIL PROTECTED] - Email
http://www.dialtoneinternet.net