FWIW I have qmail-smtpd log the following info:
pid, envelope addresses, TCPREMOTEHOST, TCPREMOTEIP and bind-prefix.
bind-prefix is simply a token that is passed via the tcpserver invocation so
that I can associated the log entry with an interface binding.
This is logged at:
o any SMTP failure code - temporary or permanent
o every rcpt to:
o a non-zero exit if it occurs
Regards.
At 04:00 24/12/98 -0000, D. J. Bernstein wrote:
>Scott Schwartz writes:
>> I've already explained what I want, if you'll recall.
>
>Sorry, I don't recall. What exactly do you want to see in the log?
>
>I have asked you this question far too many times now, Scott, without
>seeing you answer it. This is your last chance.
>
>(Other people are of course free to send me their answers too---I've
>already received a few suggestions.)
>
>---Dan
>
>