What about removing the "exec" completely? 

I don't see why exec is necessary, and I don't know if your script
variables will be passed into the new process created by the exec.

Dave

-----Original Message-----
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 24, 2000 11:49 AM
To: [EMAIL PROTECTED]
Subject: Re: Qmail behind firewall question


Vincent Danen <[EMAIL PROTECTED]> wrote:

>tcpserver: fatal: unable to figure out port number for geceventures.com
>
>I'm starting qmail-smtpd with:
>
>#!/bin/sh
>QMAILUID=`id -u qmaild`
>NOFILESGID=`id -g qmaild`
>exec /usr/local/bin/softlimit -m 2000000 \
>  /usr/local/bin/tcpserver -v -p -x /etc/tcprules.d/smtpd.cdb \
>  -u $QMAILUID -g $NOFILESGID geceventures.com 25 \
>  /var/qmail/bin/qmail-smtpd 2>&1

Make that "echo exec...", run it, verify that the expanded command is
correct--especially the UID and GID.

-Dave

Reply via email to