> > Actually sendmail does record this as "relay=host.domain [1.2.3.4]" in
it's
> > log file.
>
> I'm not familiar with sendmail. Does it record this log line only for
messages
> with a non-local envelope recipient? That would make it tricky to emulate
> with a wrapper around qmail-smtpd.
As fa
> qmail-smtpd doesn't log it, but qmail records it in a Received: header,
like
> any other MTA does. Is this not sufficient? You could create a wrapper
> around qmail-smtpd which logs this information to stdout if you like.
Actually sendmail does record this as "relay=host.domain [1.2.3.4]" in