Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Greetings qmail users.... I have

Status
Not open for further replies.

gmills

Programmer
Feb 12, 2003
1
US
Greetings qmail users....

I have been stuck on one part of the install for a while now, and after
looking through the FAQ, i have not found an answer....so i'm throwing
it out there....

I'm following the lwq directions, and the run script for smtp is not
working....

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmial-smtpd/run
exit 1
fi
exec /usr/local/bin/softlimit -m 3000000 /usr/local/bin/tcpserver -v R
-l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtp 2>&1

i get the (what looks like) all too famous

tcpserver: fatal: unable to figure out port number for -l

help!

thanks

 
I see three differences in your run file and mine - they are:

Line 8: qmail-smtpd is mispelled as qmial
Line 12: should be a space between " and $LOCAL
Line 13:should be qmail-smtpd 2>&1 (you left off the d in smtpd)

good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top