> I am unsure of how to direct tcpserver's output so that is gets logged to
> syslog. Currently I just get qmail's messages sent to /var/log./maillog.
> What is the syntax to start qmail and have both qmail's and tcpservers
> STDOUT go to the syslog facility?

My old configuration:
tcpserver -g 101 -u 1001 -R -v -x/etc/tcp.smtp.cdb 0 smtp qmail-smtpd 2>&1 | splogger 
smtpd &

The new conf. uses daemontools:

/service/smtp/run:
exec env - PATH="/var/qmail/bin:$PATH" /usr/local/bin/tcpserver \
-g 101 -u 1001 -Hl dns.tegtmeyer.com -R -v -c 40 -x /etc/tcp.smtp.cdb \
0 smtp qmail-smtpd 2>&1

/service/smtp/log/run:
exec /usr/local/bin/multilog t s4194304 n20 /var/log/smtp

Regards, Frank

Reply via email to