On 16 Jun 2016, at 10:02, Rob Maidment wrote:
Hi Wietse
I supposed you're referring to the '-X' command-line option that
logs all traffic (to file of FIFO). This appears to be a debugging
tool that logs voluminous amounts of data including network
conversations.
Why are you not concerned about changes in Sendmail debug logging?
No I wasn't referring to that. The current solution does not monitor
the
Sendmail logs, instead it relies on customisations to the Sendmail
source
code to generate the tracking events. I'd rather not take that
approach
with Postfix for the reasons I mentioned so I am looking for
alternative
solutions.
MIMEDefang.
It's a milter, so it can be called at any or all of the connect time,
HELO, MAIL, and RCPT, and always at the end of DATA, receiving the
information the MTA can provide at each point. Often it is just used as
a way to hook up SpamAssassin and an AV scanner, but it's a great tool
to enhance Postfix logging as well. Its config file consists of a set of
Perl subroutine implementations to be called at the various stages, so
if all you want is an explicit log entry for each SMTP command, each
message as a whole, and each MIME part in a message, you could do that
with 7 one-line subroutines logging the arguments passed to them.