Hi,

I'm running qmail with the daemontools and right now
qmail and tcpserver are logging through multilog.
But now I want them to log through splogger,
because I'm used to have everything, belonging to
mail in one logfile. With multilog it's not possible
to write to one logfile. But when I change my startscript
it doesn't work. The script looks like this:

#!/bin/sh
exec 2>&1 \
envdir ./env \
sh -c '
    case "$REMOTENAME" in h) H=;; p) H=p;; *) H=H;; esac
    case "$REMOTEINFO" in r) R=;; [0-9]*) R="t$REMOTEINFO";; *) R=R;; esac
    exec \
    envuidgid qmaild \
    softlimit ${DATALIMIT+"-d$DATALIMIT"} \
    /usr/local/bin/tcpserver \
        -vDU"$H$R" \
        ${LOCALNAME+"-l$LOCALNAME"} \
        ${BACKLOG+"-b$BACKLOG"} \
        ${CONCURRENCY+"-c$CONCURRENCY"} \
        -xtcp.cdb \
        -- "${IP-0}" "${PORT-25}" \
    /var/qmail/bin/qmail-smtpd
'

How do I have to add splogger that this scipt, that it works 
correct?

Thanks

        /martin


---

--------------------------------------------------------------------
               Martin Hasenbein  Phone (Fax): (+49) 89 1216376-1 (3)
     \|/       Weiglstr.9        mailto:[EMAIL PROTECTED]        
     @ @       D-80636 München   http://martin.hasenbein.com        
-oOO-(_)-OOo--------------------------------------------------------

                On the 8th day, god created Unix ;-)                

Reply via email to