On Fri, 2005-07-01 at 13:02 -0500, DAve wrote:
> > #!/bin/sh
> > exec 2>&1
> > QMAIL="/var/qmail"
> > ME=$(head -1 $QMAIL/control/me)
> > PATH="$QMAIL/bin:$PATH"
> > USER=${USER:="qmaild"}
> > 
> > exec /usr/local/bin/softlimit -m 5000000 \
> >      /usr/local/bin/tcpserver -v -DURl $ME
> > -x$QMAIL/control/qmail-smtpd.cdb -u "qmaild" 0 smtp \
>      ^ space missing?
> >      /usr/local/bin/rblsmtpd \
> >      /usr/local/bin/rblsmtpd -rbl.spamcop.net \
>                                  ^ space missing?
> >      /usr/local/bin/rblsmtpd -rlist.dsbl.org \
>                                  ^ space missing?
> >      /usr/local/bin/rblsmtpd -rcbl.abuseat.org \
>                                  ^ space missing?
> >      $QMAIL/bin/qmail-smtpd
>                                ^ add " 2>&1" at the end of your script.

Also you dont need to specify rblsmtpd each time. It is sufficient to
just say

exec /usr/local/bin/softlimit -m 5000000 \
/usr/local/bin/tcpserver -v -DURl $ME
-x $QMAIL/control/qmail-smtpd.cdb -u "qmaild" 0 smtp \
/usr/local/bin/rblsmtpd -r bl.spamcop.net \
                        -rlist.dsbl.org \
                        -rcbl.abuseat.org \
$QMAIL/bin/qmail-smtpd 2>&1

cheers
Shane

Reply via email to