"Alex Kramarov" <[EMAIL PROTECTED]> writes:
> I was thinking , why do alot of people here mention running
> tcpserver with multilog and storing it's logs apart from qmail logs:
Because things work that way.
> This is what I use for the startup string for tcpserver
>
> /usr/local/bin/tcpserver -R -H -x/etc/tcp.smtp.cdb -v -u 7770 -g 2108 0 smtp
>/var/qmail/bin/tcp-env /usr/sbin/relaylock /var/qmail/bin/qmail-smtpd >>
>/var/log/qmail/current 2>&1 &
This makes tcpserver always log to the same file. After it has run
for a while, multilog will have renamed that file from "current" to
"@4000..." and created a new "current" file, but tcpserver won't use
the new current file unless you kill it and restart it. Eventually,
if tcpserver runs long enough, multilog will rotate the original
"current" out of existence, and you won't be able to see new tcpserver
log entries.
> I have to rewrite the FROM field from messages I recieve through
> smtp.
The header field, or the envelope sender?
paul