"Keith Warno" <[EMAIL PROTECTED]> wrote:
>From: "Dave Sill" <[EMAIL PROTECTED]>
>> "Keith Warno" <[EMAIL PROTECTED]> wrote:
>>
>> > tcpserver -v -u 7770 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd \
>> > 2>&1 | /var/qmail/bin/splogger smtpd 3 &
>> >
>> >Um ok, the uid and gid are diff on my box :> So's the qmail path but
>other
>> >than that it's a cut/paste and msgs are getting blurted out to the
>terminal.
>>
>> Odds are good that you're using a shell that doesn't use the "2>&1"
>> syntax to redirect stderr to stdout.
>>
>> -Dave
>
>If it were that easy I would have spotted it, even at 230am :)
>
>The shell is bash.
OK, pardon me. So what to the messages you see look like? Is anything
going to syslog? What does:
echo foo | /var/qmail/bin/splogger smtpd 3
do? Facility 3 is (usually?) daemon. Check /usr/include/sys/syslog.h.
Leave it off, and splogger will default to 2 (mail), which is probably
what you want.
-Dave